@fc-components/monaco-editor 0.1.22 → 0.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3593,7 +3593,7 @@ function SqlEditor(props) {
3593
3593
  var containerDiv = containerRef.current;
3594
3594
  if (containerDiv !== null) {
3595
3595
  var pixelHeight = editor.getContentHeight();
3596
- containerDiv.style.height = pixelHeight + "px";
3596
+ containerDiv.style.minHeight = pixelHeight + "px";
3597
3597
  containerDiv.style.width = '100%';
3598
3598
  var pixelWidth = containerDiv.clientWidth;
3599
3599
  editor.layout({
@@ -3648,7 +3648,10 @@ function SqlEditor(props) {
3648
3648
  maxHeight: maxHeight
3649
3649
  }
3650
3650
  }, React__default.createElement("div", {
3651
- ref: containerRef
3651
+ ref: containerRef,
3652
+ style: {
3653
+ height: '100%'
3654
+ }
3652
3655
  }, React__default.createElement(MonacoEditor, {
3653
3656
  width: '100%',
3654
3657
  height: '100%',
@@ -3670,7 +3673,6 @@ function SqlEditor(props) {
3670
3673
  scrollBeyondLastLine: false,
3671
3674
  smoothScrolling: true,
3672
3675
  fontSize: fontSize,
3673
- lineHeight: 24,
3674
3676
  tabSize: 2,
3675
3677
  wordWrap: 'on',
3676
3678
  automaticLayout: true,