We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 37a6c9a + 5cc0fef commit 960d156Copy full SHA for 960d156
skeleton.go
@@ -482,12 +482,9 @@ func (s *Skeleton) View() string {
482
483
// Calculate available height for body
484
headerHeight := lipgloss.Height(s.header.View())
485
- widgetHeight := 0
486
- if len(s.widget.widgets) > 0 {
487
- widgetHeight = lipgloss.Height(s.widget.View())
488
- }
+ footerHeight := lipgloss.Height(s.widget.View())
489
490
- bodyHeight := s.viewport.Height - headerHeight - widgetHeight
+ bodyHeight := s.viewport.Height - headerHeight - footerHeight
491
492
// Style for the body content
493
base := lipgloss.NewStyle().
0 commit comments