From 36af1a430dcdaafe7e23974ac63c52d5559261da Mon Sep 17 00:00:00 2001 From: Elizabet Oliveira Date: Sun, 31 May 2026 16:28:52 +0100 Subject: [PATCH 1/3] style(search): reduce xs input height from 32px to 30px Align the xs size across SQLInlineEditor, AutocompleteInput, and the SearchWhereInput addon so compact search inputs share a consistent 30px height. Co-authored-by: Cursor --- packages/app/src/components/SQLEditor/SQLInlineEditor.tsx | 2 +- packages/app/src/components/SearchInput/AutocompleteInput.tsx | 2 +- .../app/src/components/SearchInput/SearchWhereInput.module.scss | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/app/src/components/SQLEditor/SQLInlineEditor.tsx b/packages/app/src/components/SQLEditor/SQLInlineEditor.tsx index 8212e3c9c1..8d7829e3e1 100644 --- a/packages/app/src/components/SQLEditor/SQLInlineEditor.tsx +++ b/packages/app/src/components/SQLEditor/SQLInlineEditor.tsx @@ -305,7 +305,7 @@ export default function SQLInlineEditor({ // Only apply expanded styling when multiline is enabled and focused const isExpanded = allowMultiline && isFocused; - const baseHeight = size === 'xs' ? 32 : 36; + const baseHeight = size === 'xs' ? 30 : 36; return (
Date: Sun, 31 May 2026 16:33:23 +0100 Subject: [PATCH 2/3] feat(time-picker): support xs size and apply across search header Add an optional size prop ('xs' | 'sm', default 'sm') to TimePicker and wire it through to the underlying TextInput so callers can render a compact variant. Apply size="xs" to the DBSearchPage header (Run button, source select, TimePicker, and live tail refresh Select) so all controls line up at the same height. Co-authored-by: Cursor --- packages/app/src/DBSearchPage.tsx | 5 ++++- packages/app/src/components/TimePicker/TimePicker.tsx | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/app/src/DBSearchPage.tsx b/packages/app/src/DBSearchPage.tsx index 92fe91474c..4e7a6a21de 100644 --- a/packages/app/src/DBSearchPage.tsx +++ b/packages/app/src/DBSearchPage.tsx @@ -277,6 +277,7 @@ function SearchSubmitButton({ type="submit" leftSection={} style={{ flexShrink: 0 }} + size="xs" > Run @@ -1982,6 +1983,7 @@ export function DBSearchPage() { minWidth="min(600px, 100%)" dateRange={searchedTimeRange} sourceId={inputSource} + size="xs" /> {isLive && (