From 0b5d9f3b67961d0473497f062a6874eb0d39ee6b Mon Sep 17 00:00:00 2001 From: Nicholas Ung Date: Thu, 5 Oct 2023 17:08:32 -0700 Subject: [PATCH] Fix (styles): Make ace editor theme consistent for Search Relevance plugin (#300) * Update code editor theme to textmate Signed-off-by: Nicholas Ung <37952714+nung22@users.noreply.github.com> Signed-off-by: Nicholas Ung * Update theme in testing file Signed-off-by: Nicholas Ung --------- Signed-off-by: Nicholas Ung <37952714+nung22@users.noreply.github.com> Signed-off-by: Nicholas Ung --- .../__tests__/__snapshots__/search_configs.test.tsx.snap | 8 ++++---- .../search_components/search_configs/search_config.tsx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/components/query_compare/search_result/search_components/__tests__/__snapshots__/search_configs.test.tsx.snap b/public/components/query_compare/search_result/search_components/__tests__/__snapshots__/search_configs.test.tsx.snap index c52cfa8..84c7825 100644 --- a/public/components/query_compare/search_result/search_components/__tests__/__snapshots__/search_configs.test.tsx.snap +++ b/public/components/query_compare/search_result/search_components/__tests__/__snapshots__/search_configs.test.tsx.snap @@ -372,7 +372,7 @@ exports[`Flyout component Renders flyout component 1`] = ` } showPrintMargin={false} tabSize={2} - theme="sql_console" + theme="textmate" value="{}" width="100%" > @@ -474,7 +474,7 @@ exports[`Flyout component Renders flyout component 1`] = ` showPrintMargin={false} style={Object {}} tabSize={2} - theme="sql_console" + theme="textmate" value="{}" width="100%" wrapEnabled={false} @@ -836,7 +836,7 @@ exports[`Flyout component Renders flyout component 1`] = ` } showPrintMargin={false} tabSize={2} - theme="sql_console" + theme="textmate" value="{}" width="100%" > @@ -938,7 +938,7 @@ exports[`Flyout component Renders flyout component 1`] = ` showPrintMargin={false} style={Object {}} tabSize={2} - theme="sql_console" + theme="textmate" value="{}" width="100%" wrapEnabled={false} diff --git a/public/components/query_compare/search_result/search_components/search_configs/search_config.tsx b/public/components/query_compare/search_result/search_components/search_configs/search_config.tsx index 391699c..58180d0 100644 --- a/public/components/query_compare/search_result/search_components/search_configs/search_config.tsx +++ b/public/components/query_compare/search_result/search_components/search_configs/search_config.tsx @@ -128,7 +128,7 @@ export const SearchConfig: FunctionComponent = ({ >