chore: change the min width to 120
commit76d90bc70f1d8ecad2c081c4a4189c00dc7d88b2
authorKujtim Hoxha <kujtimii.h@gmail.com>
dateWed 18 Jun 2025, 16:46 (1 year ago)
parent5249db3
internal/tui/components/dialogs/commands/commands.go+1−1
@@ -264,7 +264,7 @@ func (c *commandDialogCmp) defaultCommands() []Command {
264264 })
265265 }
266266 // Only show toggle compact mode command if window width is larger than compact breakpoint (90)
267− if c.wWidth > 90 && c.sessionID != "" {
267+ if c.wWidth > 120 && c.sessionID != "" {
268268 commands = append(commands, Command{
269269 ID: "toggle_sidebar",
270270 Title: "Toggle Sidebar",
internal/tui/page/chat/chat.go+1−1
@@ -26,7 +26,7 @@ import (
2626
2727var ChatPageID page.PageID = "chat"
2828
29−const CompactModeBreakpoint = 90 // Width at which the chat page switches to compact mode
29+const CompactModeBreakpoint = 120 // Width at which the chat page switches to compact mode
3030
3131type (
3232 OpenFilePickerMsg struct{}