From 3bc824940a41b57b24a3c00dfd85e64673f17683 Mon Sep 17 00:00:00 2001 From: Test Date: Tue, 31 Mar 2026 17:30:10 +0200 Subject: [PATCH] fix: prevent status bar overflow from hiding commit button The left div in the status bar had no width constraint, causing items at the end (commit button, Pulse) to overflow behind the right div when the window is narrow or zoom is high. Fixes: - Add flex:1 + minWidth:0 + overflow:hidden to the left div - Add flexShrink:0 to the right div so it stays visible - Move ChangesBadge (with commit button) before SyncBadge so it appears earlier and is less likely to be clipped Co-Authored-By: Claude Opus 4.6 (1M context) --- src/components/StatusBar.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/StatusBar.tsx b/src/components/StatusBar.tsx index 82697604..3e7213c2 100644 --- a/src/components/StatusBar.tsx +++ b/src/components/StatusBar.tsx @@ -437,7 +437,7 @@ export function StatusBar({ noteCount, modifiedCount = 0, vaultPath, vaults, onS return (