Skip to content

Commit db8e57d

Browse files
committed
Small layout improvements
1 parent ff3eb2b commit db8e57d

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

apps/webapp/app/components/runs/v3/SharedFilters.tsx

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -541,12 +541,11 @@ export function TimeDropdown({
541541
activeSection === "dateRange" && "text-indigo-500"
542542
)}
543543
>
544-
Or specify exact time range
544+
Or specify exact time range{" "}
545+
<span className="text-text-dimmed">(in local time)</span>
545546
</Label>
546-
<div className="mb-2 flex flex-col gap-1" onClick={(e) => e.stopPropagation()}>
547-
<Label variant="small">
548-
From <span className="text-text-dimmed">(local time)</span>
549-
</Label>
547+
<div className="mb-3 flex flex-col gap-1" onClick={(e) => e.stopPropagation()}>
548+
<Label variant="small">From</Label>
550549
<DateTimePicker
551550
label="From time"
552551
value={fromValue}
@@ -561,9 +560,7 @@ export function TimeDropdown({
561560
/>
562561
</div>
563562
<div className="flex flex-col gap-1" onClick={(e) => e.stopPropagation()}>
564-
<Label variant="small">
565-
To <span className="text-text-dimmed">(local time)</span>
566-
</Label>
563+
<Label variant="small">To</Label>
567564
<DateTimePicker
568565
label="To time"
569566
value={toValue}
@@ -578,7 +575,7 @@ export function TimeDropdown({
578575
/>
579576
</div>
580577
{/* Quick select date ranges */}
581-
<div className="mt-3 grid grid-cols-3 gap-2" onClick={(e) => e.stopPropagation()}>
578+
<div className="mt-4 grid grid-cols-3 gap-2" onClick={(e) => e.stopPropagation()}>
582579
<QuickDateButton
583580
label="Yesterday"
584581
onClick={() => {
@@ -670,7 +667,7 @@ export function TimeDropdown({
670667
/>
671668
</div>
672669
{validationError && activeSection === "dateRange" && (
673-
<Paragraph variant="extra-small" className="mt-1 text-error">
670+
<Paragraph variant="extra-small" className="mt-2 text-error">
674671
{validationError}
675672
</Paragraph>
676673
)}

0 commit comments

Comments
 (0)