@devries-cameron20 / t3code-1 / commits / d266c068d0
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix: allow sidebar to be shrunk when wider than viewport (#2456)

Co-authored-by: Shoaib Ansari <shoaibansari@Shoaibs-Mac-mini.local> Co-authored-by: Julius Marminge <julius0216@outlook.com>

Shoaib committed Jul 20, 2026 at 14:28 UTC d266c068d0e8b8cd168d38cd70b885a7a9e233e2
1 file changed +2 -1
apps/web/src/components/AppSidebarLayout.tsx
+2 -1
@@ -138,7 +138,8 @@ export function AppSidebarLayout({ children }: { children: ReactNode }) {
138 className="border-r border-border bg-card text-foreground"
139 resizable={{
140 minWidth: THREAD_SIDEBAR_MIN_WIDTH,
141 - shouldAcceptWidth: ({ nextWidth, wrapper }) =>
141 + shouldAcceptWidth: ({ currentWidth, nextWidth, wrapper }) =>
142 + nextWidth <= currentWidth ||
143 wrapper.clientWidth - nextWidth >= THREAD_MAIN_CONTENT_MIN_WIDTH,
144 storageKey: THREAD_SIDEBAR_WIDTH_STORAGE_KEY,
145 }}