Skip to content

Commit 4e3e12b

Browse files
author
Marco
committed
latest
1 parent b09c0ca commit 4e3e12b

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

components/webui/client/src/components/SqlEditor/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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,
Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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

@@ -18,9 +18,4 @@
1818

1919
.status {
2020
margin-left: 2px;
21-
padding-top: 4px;
22-
}
23-
24-
.statusPresto {
25-
margin-left: 2px;
2621
}

components/webui/client/src/pages/SearchPage/SearchControls/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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/>

0 commit comments

Comments
 (0)