diff --git a/internal/tui/components/chat/splash/splash.go b/internal/tui/components/chat/splash/splash.go index 2a6e3be3aa498fd23dfe06f663dd8c8859e6dbef..163e8be44765404ce2f1f92e9371c2dcd6f67dd0 100644 --- a/internal/tui/components/chat/splash/splash.go +++ b/internal/tui/components/chat/splash/splash.go @@ -133,10 +133,11 @@ func (s *splashCmp) Init() tea.Cmd { // SetSize implements SplashPage. func (s *splashCmp) SetSize(width int, height int) tea.Cmd { + wasSmallScreen := s.isSmallScreen() rerenderLogo := width != s.width s.height = height s.width = width - if rerenderLogo { + if rerenderLogo || wasSmallScreen != s.isSmallScreen() { s.logoRendered = s.logoBlock() } // remove padding, logo height, gap, title space