From 25dac896f563925e6e742efc132d20c0240e1fc0 Mon Sep 17 00:00:00 2001 From: Ryan Keairns Date: Tue, 18 Jun 2024 12:52:05 -0700 Subject: [PATCH] Fix error, tweak border styles --- packages/kbn-text-based-editor/src/editor_footer.tsx | 5 ----- packages/kbn-text-based-editor/src/overwrite.scss | 7 ++++++- packages/kbn-text-based-editor/src/query_history.tsx | 2 ++ .../src/text_based_languages_editor.styles.ts | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/packages/kbn-text-based-editor/src/editor_footer.tsx b/packages/kbn-text-based-editor/src/editor_footer.tsx index b617a5f3aedcc..27a6ffbeabbdb 100644 --- a/packages/kbn-text-based-editor/src/editor_footer.tsx +++ b/packages/kbn-text-based-editor/src/editor_footer.tsx @@ -145,7 +145,6 @@ export const EditorFooter = memo(function EditorFooter({ queryHasChanged, measuredContainerWidth, }: EditorFooterProps) { - const { euiTheme } = useEuiTheme(); const [isErrorPopoverOpen, setIsErrorPopoverOpen] = useState(false); const [isWarningPopoverOpen, setIsWarningPopoverOpen] = useState(false); const onUpdateAndSubmit = useCallback( @@ -162,10 +161,6 @@ export const EditorFooter = memo(function EditorFooter({ [runQuery, updateQuery] ); - const shadowStyle = isInCompactMode - ? `inset 0 0px 0, inset 0 -1px 0 ${euiTheme.border.color}` - : 'none'; - return (