File tree Expand file tree Collapse file tree 3 files changed +7
-14
lines changed
components/webui/client/src
pages/SearchPage/SearchControls Expand file tree Collapse file tree 3 files changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ const SqlEditor = (props: SqlEditorProps) => {
5959 return ;
6060 }
6161
62- // Default theme to match AntD input
6362 monacoEditor . editor . defineTheme ( "default-theme" , {
6463 base : "vs" ,
6564 inherit : true ,
@@ -71,7 +70,6 @@ const SqlEditor = (props: SqlEditorProps) => {
7170 } ,
7271 } ) ;
7372
74- // Disabled theme uses vs as base
7573 monacoEditor . editor . defineTheme ( "disabled-theme" , {
7674 base : "vs" ,
7775 inherit : true ,
Original file line number Diff line number Diff line change 11.searchControlsContainer {
22 display : flex;
3- gap : 10px ;
3+ flex-direction : column;
4+ gap : 5px ;
45}
56
6- .prestoSearchControlsContainer {
7+ .inputsAndButtonRow {
78 display : flex;
8- flex-direction : column;
99 gap : 10px ;
1010}
1111
1818
1919.status {
2020 margin-left : 2px ;
21- padding-top : 4px ;
22- }
23-
24- .statusPresto {
25- margin-left : 2px ;
2621}
Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ const SearchControls = () => {
3333 < form onSubmit = { handleSubmit } >
3434 { SETTINGS_QUERY_ENGINE !== CLP_QUERY_ENGINES . PRESTO ?
3535 (
36- < div >
37- < div className = { styles [ "searchControlsContainer " ] } >
36+ < div className = { styles [ "searchControlsContainer" ] } >
37+ < div className = { styles [ "inputsAndButtonRow " ] } >
3838 { CLP_STORAGE_ENGINES . CLP_S === SETTINGS_STORAGE_ENGINE && < Dataset /> }
3939 < QueryInput />
4040 < TimeRangeInput />
@@ -46,10 +46,10 @@ const SearchControls = () => {
4646 </ div >
4747 ) :
4848 (
49- < div className = { styles [ "prestoSearchControlsContainer " ] } >
49+ < div className = { styles [ "searchControlsContainer " ] } >
5050 < SqlQueryInput />
5151 < div className = { styles [ "buttonAndStatusRow" ] } >
52- < div className = { styles [ "statusPresto " ] } >
52+ < div className = { styles [ "status " ] } >
5353 < QueryStatus />
5454 </ div >
5555 < SqlSearchButton />
You can’t perform that action at this time.
0 commit comments