fix(tui): chat: properly align and pad the version text
commita203cbe2a0b7d9659089259019970e257b3b8256
authorAyman Bagabas <ayman.bagabas@gmail.com>
dateTue 15 Jul 2025, 16:38 (1 year ago)
parentc1ba488
internal/tui/page/chat/chat.go+1−1
@@ -382,7 +382,7 @@ func (p *chatPage) View() string {
382382 Width(p.detailsWidth).
383383 Border(lipgloss.RoundedBorder()).
384384 BorderForeground(t.BorderFocus)
385− version := t.S().Subtle.Width(p.detailsWidth - 2).AlignHorizontal(lipgloss.Right).Render(version.Version)
385+ version := t.S().Subtle.Width(p.detailsWidth - 4).AlignHorizontal(lipgloss.Right).Render(version.Version)
386386 details := style.Render(
387387 lipgloss.JoinVertical(
388388 lipgloss.Left,