Skip to content

Commit 76bf7f1

Browse files
committed
fix: topic config page height calculation
1 parent 9813f9d commit 76bf7f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/pages/configs_page/configs_page.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func (m *Model) View(ktx *kontext.ProgramKtx, renderer *ui.Renderer) string {
3737
{Title: "Config", Width: int(float64(ktx.WindowWidth-5) * 0.5)},
3838
{Title: "Value", Width: int(float64(ktx.WindowWidth-5) * 0.5)},
3939
})
40-
m.table.SetHeight(ktx.AvailableHeight - 2)
40+
m.table.SetHeight(ktx.AvailableTableHeight())
4141
m.table.SetRows(m.rows)
4242
m.table.Focus()
4343

0 commit comments

Comments
 (0)