File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
packages/compass-indexes/src/components/create-index-form Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -80,9 +80,12 @@ const lightModeCodeEditorStyles = css({
8080const indexSuggestionsLoaderStyles = css ( {
8181 marginBottom : spacing [ 600 ] ,
8282 padding : spacing [ 600 ] ,
83+ borderRadius : editorContainerRadius ,
84+ } ) ;
85+
86+ const indexSuggestionsLoaderLightStyles = css ( {
8387 background : palette . gray . light3 ,
8488 border : `1px solid ${ palette . gray . light2 } ` ,
85- borderRadius : editorContainerRadius ,
8689} ) ;
8790
8891const insightStyles = css ( {
@@ -240,7 +243,10 @@ const QueryFlowSection = ({
240243 { isFetchingIndexSuggestions ? (
241244 < ParagraphSkeleton
242245 data-testid = "query-flow-section-code-loader"
243- className = { indexSuggestionsLoaderStyles }
246+ className = { cx (
247+ indexSuggestionsLoaderStyles ,
248+ ! darkMode && indexSuggestionsLoaderLightStyles
249+ ) }
244250 />
245251 ) : (
246252 indexSuggestions && (
You can’t perform that action at this time.
0 commit comments