From 3eb15e4e7a4fcc8bb631b38d8e4ee424302e8001 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Thu, 19 Aug 2021 18:30:34 -0400 Subject: [PATCH] Menu no longer fills the available vertical space --- tui/bubble.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tui/bubble.go b/tui/bubble.go index 392fa14c7..c18c2a254 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()