Skip to content

Commit bcf03bd

Browse files
committed
🤖 fix: enable right sidebar resizing on stats tab
Change-Id: Ide6d444731174bd05cf7f1d92bfe086e9f0538d5 Signed-off-by: Thomas Kosiewski <tk@coder.com>
1 parent 5a28945 commit bcf03bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/browser/components/AIView.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ const AIViewInner: React.FC<AIViewProps> = ({
106106

107107
// Resizable RightSidebar width - separate hooks per tab for independent persistence
108108
const costsSidebar = useResizableSidebar({
109-
enabled: selectedRightTab === "costs",
109+
// Costs + Stats share the same resizable width persistence
110+
enabled: selectedRightTab === "costs" || selectedRightTab === "stats",
110111
defaultWidth: 300,
111112
minWidth: 300,
112113
maxWidth: 1200,

0 commit comments

Comments
 (0)