We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 14ed51c + 370cb5b commit dc2ae9aCopy full SHA for dc2ae9a
1 file changed
pkg/tui/page/chat/chat.go
@@ -555,7 +555,7 @@ func (p *chatPage) SetSize(width, height int) tea.Cmd {
555
p.chatHeight = max(1, height-actualEditorHeight-horizontalSidebarHeight-2) // -1 for resize handle, -1 for empty line before status bar
556
p.sidebar.SetMode(sidebar.ModeHorizontal)
557
cmds = append(cmds,
558
- p.sidebar.SetSize(width, horizontalSidebarHeight),
+ p.sidebar.SetSize(innerWidth, horizontalSidebarHeight),
559
p.sidebar.SetPosition(styles.AppPaddingLeft, 0),
560
p.messages.SetPosition(0, horizontalSidebarHeight),
561
)
0 commit comments