Skip to content

Commit c5a96d1

Browse files
fix(web): the Schedule toggle wraps below its label on narrow screens
At 390px with the toggle labels rendered at 16px, as under mobile text autosizing, the segmented control is 315px wide and the row overflowed the dialog. The row now wraps, so the toggle moves to its own line only when it can't sit beside the label; wider layouts are unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent bd6d3b4 commit c5a96d1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/web/src/components/settings/ScheduledTasksSettings.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1496,7 +1496,8 @@ function ScheduledTaskEditorForm({
14961496
minute.
14971497
</p>
14981498
) : null}
1499-
<div className="flex items-center justify-between gap-2">
1499+
{/* Wraps the toggle below the label when both don't fit, as on phones. */}
1500+
<div className="flex flex-wrap items-center justify-between gap-2">
15001501
<Label>Schedule</Label>
15011502
<ToggleGroup
15021503
aria-label="Schedule type"

0 commit comments

Comments
 (0)