Skip to content

Commit 9dca18f

Browse files
author
Marco
committed
latest
1 parent a810e09 commit 9dca18f

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

components/webui/client/src/pages/SearchPage/SearchControls/index.module.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111

1212
.buttonAndStatusRow {
1313
display: flex;
14-
align-items: flex-end;
14+
align-items: flex-start; /* Align items to the top */
15+
justify-content: space-between; /* Put space between status and button */
1516
gap: 10px;
1617
}
1718

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,21 @@ const SearchControls = () => {
4040
<TimeRangeInput/>
4141
<SearchButton/>
4242
</div>
43-
<div className={styles["statusRow"]}>
44-
<QueryStatus/>
45-
</div>
43+
<QueryStatus/>
4644
</div>
4745
) :
4846
(
4947

5048
<div className={styles["prestoSearchControlsContainer"]}>
5149
<SqlQueryInput/>
5250
<div className={styles["buttonAndStatusRow"]}>
53-
<SqlSearchButton/>
54-
<QueryStatus/>
51+
<div style={{ alignSelf: "flex-start" }}>
52+
<QueryStatus/>
53+
</div>
54+
<div style={{ flex: 1 }} />
55+
<div style={{ alignSelf: "flex-end" }}>
56+
<SqlSearchButton/>
57+
</div>
5558
</div>
5659
</div>
5760
)}

0 commit comments

Comments
 (0)