feat(FN-2236): scope settings-section-heading margin reset to plugin detail only

The Plugin Manager section had a global .settings-section-heading { margin: 0; }
rule that was unintentionally removing margins from all settings pane headings,
not just plugin detail headings. Scoped the rule to .plugin-settings-form so
other settings panes inherit the base spacing again.
This commit is contained in:
Fusion
2026-04-23 02:11:03 -07:00
committed by gsxdsm
parent 216d2bb05d
commit 214d8d0c46
2 changed files with 6 additions and 3 deletions

View File

@@ -658,8 +658,10 @@ export class DashboardTUI {
private renderLogsSection(): void {
const cols = process.stdout.columns || 80;
const entries = this.logBuffer.getAll();
// Clamp to minimum 1 row to handle very small terminals
const maxRows = Math.max(1, (process.stdout.rows ?? 38) - 8);
// Clamp to minimum 1 row to handle very small terminals.
// Reserve 9 rows for fixed UI chrome (header, section labels/spacers, footer)
// so content never overlaps the footer on short terminals.
const maxRows = Math.max(1, (process.stdout.rows ?? 38) - 9);
process.stdout.write(colorize("\n LOGS\n", "bold"));
process.stdout.write(colorize(` Ring buffer: ${this.logBuffer.total}/${MAX_LOG_ENTRIES} entries\n\n`, "dim"));