fix(settings): fit Chat/Terminal tiles and shortcut labels in the narrower Settings column (#40869)

#40249 narrowed Settings to 784px, which left the default-surface section
below its two-column breakpoint (tiles always stacked) and squeezed shortcut
names to a few characters beside their badges.
This commit is contained in:
Brennan Benson
2026-11-10 13:47:58 -08:00
committed by GitHub
parent abff3a41f5
commit 4a21d4f4e4
2 changed files with 2 additions and 2 deletions
@@ -254,7 +254,7 @@ export function AgentDefaultSurfaceSection({
role="radiogroup"
aria-label={title}
aria-busy={pending}
className="grid gap-3.5 @3xl:grid-cols-2"
className="grid gap-3.5 @2xl:grid-cols-2"
>
<SurfaceTile
name={name}
@@ -119,7 +119,7 @@ export function ShortcutCommandBlock({
className="group/shortcut flex max-w-none flex-col"
>
<div className="flex min-h-9 items-center gap-3 rounded-md px-2 py-1 transition-colors hover:bg-accent/40 focus-within:bg-accent/40">
<div className="flex min-w-0 flex-1 items-center gap-2">
<div className="flex min-w-0 flex-1 flex-wrap items-center gap-x-2 gap-y-1">
<TruncatedSidebarLabel
text={item.title}
className={cn('text-sm', isDisabled ? 'text-muted-foreground' : 'text-foreground')}