fix(tui): pad monitors panel to fill available height #168
@@ -159,8 +159,9 @@ func (m Model) viewMonitorsLayout() string {
|
|||||||
|
|
||||||
m.contentWidth = monW - 2
|
m.contentWidth = monW - 2
|
||||||
|
|
||||||
|
monTargetH := m.maxTableRows + 5
|
||||||
monitors := m.viewSitesTab()
|
monitors := m.viewSitesTab()
|
||||||
monPanel := m.zones.Mark("panel-monitors", m.titledPanel("Monitors", monitors, monW, m.focusedPanel == panelMonitors))
|
monPanel := m.zones.Mark("panel-monitors", m.titledPanelH("Monitors", monitors, "", monW, monTargetH, 0, m.focusedPanel == panelMonitors))
|
||||||
|
|
||||||
var topParts []string
|
var topParts []string
|
||||||
topParts = append(topParts, monPanel)
|
topParts = append(topParts, monPanel)
|
||||||
|
|||||||
Reference in New Issue
Block a user