diff --git a/apps/web/components/settings/settings-section.tsx b/apps/web/components/settings/settings-section.tsx index aaa8fbc36d..cfa1e90479 100644 --- a/apps/web/components/settings/settings-section.tsx +++ b/apps/web/components/settings/settings-section.tsx @@ -17,15 +17,18 @@ export function SettingsSection({ }: SettingsSectionProps) { return (
-
-
+ {/* Stack the action row under the title on narrow screens instead of + squeezing both onto one line; shrink-0 keeps the actions from being + compressed by a long description when side by side. */} +
+

{icon} {title}

{description &&

{description}

}
- {action &&
{action}
} + {action &&
{action}
}
{children}
diff --git a/apps/web/components/settings/workflow-section-actions.tsx b/apps/web/components/settings/workflow-section-actions.tsx index cbc749a4df..39ffd38233 100644 --- a/apps/web/components/settings/workflow-section-actions.tsx +++ b/apps/web/components/settings/workflow-section-actions.tsx @@ -20,7 +20,9 @@ export function WorkflowSectionActions({ onGitHubSync, }: WorkflowSectionActionsProps) { return ( -
+ // sm:justify-end keeps wrapped rows right-aligned next to the section + // title; below sm the toolbar sits under the title, left-aligned. +