Change summary
internal/ui/dialog/commands.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Detailed changes
@@ -422,7 +422,7 @@ func (c *Commands) defaultCommands() []*CommandItem {
}
}
// Only show toggle compact mode command if window width is larger than compact breakpoint (120)
- if c.windowWidth > sidebarCompactModeBreakpoint && c.sessionID != "" {
+ if c.windowWidth >= sidebarCompactModeBreakpoint && c.sessionID != "" {
commands = append(commands, NewCommandItem(c.com.Styles, "toggle_sidebar", "Toggle Sidebar", "", ActionToggleCompactMode{}))
}
if c.sessionID != "" {