Skip to content

The agent that grows with you

fix(desktop): the layout picker previews keep main's 10:7 shape in a wide window

alt-glitchbb52441fed68
diff --git a/apps/desktop/src/components/assistant-ui/theme-picker/layout-picker-card.tsx b/apps/desktop/src/components/assistant-ui/theme-picker/layout-picker-card.tsx
index 2335c025c83..3d6077f3690 100644
--- a/apps/desktop/src/components/assistant-ui/theme-picker/layout-picker-card.tsx
+++ b/apps/desktop/src/components/assistant-ui/theme-picker/layout-picker-card.tsx
@@ -41,7 +41,7 @@ export function LayoutPickerCard({ onPick }: LayoutPickerCardProps) {
onClick={() => onPick(choice.id)}
type="button"
>
- <span className="flex h-20 w-full">
+ <span className="flex aspect-[10/7] w-full">
{isLayoutNode(tree) && <TreeThumbnail node={tree} resting={layoutPresetResting(choice.id)} />}
</span>
<span className="flex flex-col gap-0.5">