From a163cc9a2d31a311a0fdae287c8424dafac7a3ec Mon Sep 17 00:00:00 2001 From: vrubelroman Date: Fri, 24 Apr 2026 10:23:16 +0300 Subject: [PATCH] Fix view mode body height without footer gap --- internal/ui/model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/model.go b/internal/ui/model.go index aecb689..508e95e 100644 --- a/internal/ui/model.go +++ b/internal/ui/model.go @@ -1273,7 +1273,7 @@ func (m *Model) layoutWidths() (int, int, int) { func (m *Model) bodyHeight() int { height := m.height - if m.cfg.UI.ShowFooter { + if m.cfg.UI.ShowFooter && !m.viewMode { height-- } return max(height, 8)