Skip to content

Commit 8bdb838

Browse files
committed
fix(web): add spacing to workspace menu
1 parent 78d3bb5 commit 8bdb838

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎apps/web/src/components/BranchToolbar.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ export const BranchToolbar = memo(function BranchToolbar({
608608

609609
if (layout === "panel") {
610610
return (
611-
<div className="flex w-full flex-col" data-thread-panel-run-context>
611+
<div className="flex w-full flex-col gap-0.5" data-thread-panel-run-context>
612612
{panelSection !== "branch" && showEnvironmentIndicator && availableEnvironments ? (
613613
<BranchToolbarEnvironmentSelector
614614
displayMode="panel"

‎apps/web/src/components/chat/ChatHeader.tsx‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ export const ChatHeader = memo(function ChatHeader({
306306
);
307307
const headerActions = (
308308
<>
309-
<section aria-label="Workspace" className="p-1">
309+
<section aria-label="Workspace" className="flex flex-col gap-0.5 p-2">
310310
<h3 className="px-2 py-1.5 text-xs font-medium text-muted-foreground">Workspace</h3>
311311
<BranchToolbar {...branchToolbarProps} layout="panel" panelSection="workspace" />
312312
{showOpenInPicker && (
@@ -334,7 +334,10 @@ export const ChatHeader = memo(function ChatHeader({
334334
)}
335335
</section>
336336
{gitCwd && (
337-
<section aria-label="Version Control" className="border-t border-border/65 p-1">
337+
<section
338+
aria-label="Version Control"
339+
className="flex flex-col gap-0.5 border-t border-border/65 p-2"
340+
>
338341
<h3 className="px-2 py-1.5 text-xs font-medium text-muted-foreground">Version Control</h3>
339342
{branchToolbarProps.showGitControls && (
340343
<BranchToolbar {...branchToolbarProps} layout="panel" panelSection="branch" />

0 commit comments

Comments
 (0)