diff --git a/internal/tui/components/chat/splash/splash.go b/internal/tui/components/chat/splash/splash.go index b7d3cfa21b2a6e71bc77439367d29b25365fd388..c0d959eccce503e2830c14cd24ebbe6a0403c3bd 100644 --- a/internal/tui/components/chat/splash/splash.go +++ b/internal/tui/components/chat/splash/splash.go @@ -460,12 +460,15 @@ func (s *splashCmp) Cursor() *tea.Cursor { } func (s *splashCmp) infoSection() string { - return lipgloss.JoinVertical( - lipgloss.Left, - s.cwd(), - "", - lipgloss.JoinHorizontal(lipgloss.Left, s.lspBlock(), s.mcpBlock()), - "", + t := styles.CurrentTheme() + return t.S().Base.PaddingLeft(2).Render( + lipgloss.JoinVertical( + lipgloss.Left, + s.cwd(), + "", + lipgloss.JoinHorizontal(lipgloss.Left, s.lspBlock(), s.mcpBlock()), + "", + ), ) } @@ -538,7 +541,7 @@ func (s *splashCmp) Bindings() []key.Binding { } func (s *splashCmp) getMaxInfoWidth() int { - return min(s.width, 40) + return min(s.width-2, 40) // 2 for left padding } func (s *splashCmp) cwd() string {