We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7696463 commit 5cc0fefCopy full SHA for 5cc0fef
skeleton.go
@@ -461,12 +461,9 @@ func (s *Skeleton) View() string {
461
462
// Calculate available height for body
463
headerHeight := lipgloss.Height(s.header.View())
464
- widgetHeight := 0
465
- if len(s.widget.widgets) > 0 {
466
- widgetHeight = lipgloss.Height(s.widget.View())
467
- }
+ footerHeight := lipgloss.Height(s.widget.View())
468
469
- bodyHeight := s.viewport.Height - headerHeight - widgetHeight
+ bodyHeight := s.viewport.Height - headerHeight - footerHeight
470
471
// Style for the body content
472
base := lipgloss.NewStyle().
0 commit comments