mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fix(plugin-sql-editor): CB-1155 selection
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
background: rgba(128, 203, 196, 0.2);
|
||||
}
|
||||
|
||||
.cm-s-material :global(div).CodeMirror-selected {
|
||||
&.custom-select .cm-s-material :global(div).CodeMirror-selected {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@ export interface DdlViewerTabPanelProps {
|
||||
|
||||
export const ddlViewer = (nodeId: string) => (<DdlViewerTabPanel nodeId={nodeId} />);
|
||||
|
||||
const DdlViewerTabPanel = observer(function DdlViewerTabPanel(props: DdlViewerTabPanelProps) {
|
||||
const controller = useController(DdlViewerController, props.nodeId);
|
||||
const DdlViewerTabPanel: React.FC<DdlViewerTabPanelProps> = observer(function DdlViewerTabPanel({ nodeId }) {
|
||||
const controller = useController(DdlViewerController, nodeId);
|
||||
|
||||
if (controller.isLoading) {
|
||||
return <Loader />;
|
||||
|
||||
@@ -63,6 +63,7 @@ const styles = composes(
|
||||
}
|
||||
|
||||
SQLCodeEditorLoader {
|
||||
composes: custom-select from global;
|
||||
flex: 1;
|
||||
}
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user