mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
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:
@@ -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')}
|
||||
|
||||
Reference in New Issue
Block a user