We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3944930 commit c9cca48Copy full SHA for c9cca48
1 file changed
internal/tui/components/chat/sidebar.go
@@ -71,8 +71,7 @@ func (m *sidebarCmp) View() string {
71
return baseStyle.
72
Width(m.width).
73
PaddingLeft(4).
74
- PaddingRight(2).
75
- Height(m.height - 1).
+ PaddingRight(1).
76
Render(
77
lipgloss.JoinVertical(
78
lipgloss.Top,
@@ -98,14 +97,9 @@ func (m *sidebarCmp) sessionSection() string {
98
97
99
sessionValue := baseStyle.
100
Foreground(t.Text()).
101
- Width(m.width - lipgloss.Width(sessionKey)).
102
Render(fmt.Sprintf(": %s", m.app.CurrentSession.Title))
103
104
- return lipgloss.JoinHorizontal(
105
- lipgloss.Left,
106
- sessionKey,
107
- sessionValue,
108
- )
+ return sessionKey + sessionValue
109
}
110
111
func (m *sidebarCmp) modifiedFile(filePath string, additions, removals int) string {
0 commit comments