@fc-components/monaco-editor 0.3.4 → 0.3.5

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.
@@ -3923,7 +3923,15 @@ var SqlEditor = /*#__PURE__*/React.forwardRef(function (props, ref) {
3923
3923
  alwaysConsumeMouseWheel: false
3924
3924
  }
3925
3925
  }
3926
- })), enableFormat && (renderFormatButton ? renderFormatButton(handleFormat) : React__default.createElement("button", {
3926
+ })), enableFormat && (renderFormatButton ? React__default.createElement("div", {
3927
+ style: {
3928
+ position: 'absolute',
3929
+ top: 4,
3930
+ right: 4,
3931
+ zIndex: 10
3932
+ },
3933
+ onClick: handleFormat
3934
+ }, renderFormatButton(handleFormat)) : React__default.createElement("button", {
3927
3935
  onClick: handleFormat,
3928
3936
  className: formatBtnClassName,
3929
3937
  title: 'Format SQL',