From 98f2c6915163661c73342ed243db76e1fc1ea3a1 Mon Sep 17 00:00:00 2001 From: titor Date: Tue, 7 Apr 2026 04:52:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BA=94=E7=94=A8=20CardStyle=20marginB?= =?UTF-8?q?ottom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/tui/model.go | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/internal/tui/model.go b/internal/tui/model.go index a85bc09..d0a62e0 100644 --- a/internal/tui/model.go +++ b/internal/tui/model.go @@ -260,11 +260,13 @@ func (m *model) renderTranslationCard(msg ChatMessage) string { Render(outputContent) } - return lipgloss.JoinVertical( - lipgloss.Top, - metaBlock, - inputBlock, - outputBlock, + return CardStyle.Render( + lipgloss.JoinVertical( + lipgloss.Top, + metaBlock, + inputBlock, + outputBlock, + ), ) + "\n" }