fix: make the check for sidebar toggle inclusive (#2013)
commit699ae40fd953bf671e740fbc16a1b841fa566ac3
authorKujtim Hoxha <kujtimii.h@gmail.com>
dateTue 27 Jan 2026, 16:28 (9 months ago)
parent8d3064f
internal/ui/dialog/commands.go+1−1
@@ -422,7 +422,7 @@ func (c *Commands) defaultCommands() []*CommandItem {
422422 }
423423 }
424424 // Only show toggle compact mode command if window width is larger than compact breakpoint (120)
425− if c.windowWidth > sidebarCompactModeBreakpoint && c.sessionID != "" {
425+ if c.windowWidth >= sidebarCompactModeBreakpoint && c.sessionID != "" {
426426 commands = append(commands, NewCommandItem(c.com.Styles, "toggle_sidebar", "Toggle Sidebar", "", ActionToggleCompactMode{}))
427427 }
428428 if c.sessionID != "" {