fix(toolbar): remove height constraint that clipped AppSwitcher

The toolbar wrapper's fixed h-[32px] was smaller than AppSwitcher's
natural 40px height (32px buttons + 8px padding), causing visual
clipping. Removed the constraint and let flex layout handle sizing
within the 64px header.
This commit is contained in:
Jason
2026-02-21 20:42:46 +08:00
parent ce92f37ef0
commit 5763b9094b

View File

@@ -966,10 +966,10 @@ function App() {
<div
ref={toolbarRef}
className="flex flex-1 min-w-0 overflow-hidden justify-end items-center h-[32px]"
className="flex flex-1 min-w-0 overflow-x-hidden justify-end items-center"
>
<div
className="flex shrink-0 items-center gap-1.5 h-full"
className="flex shrink-0 items-center gap-1.5"
style={{ WebkitAppRegion: "no-drag" } as any}
>
{currentView === "prompts" && (