diff --git a/tui/bubble.go b/tui/bubble.go index 392fa14c73c62091ae7db3e7d15e24ed4d21330a..c18c2a2540916fe3af5455ec588c5266f0d702b1 100644 --- a/tui/bubble.go +++ b/tui/bubble.go @@ -148,13 +148,7 @@ func (b *Bubble) viewForBox(i int) string { } else { s = menuStyle } - h := b.height - - lipgloss.Height(b.headerView()) - - lipgloss.Height(b.footerView()) - - s.GetVerticalFrameSize() - - appBoxStyle.GetVerticalFrameSize() + - 1 // TODO: figure out why we need this - return s.Copy().Height(h).Render(box.View()) + return s.Render(box.View()) case *repo.Bubble: box.Active = isActive return box.View()