Make main menu responsive to terminal size

Use 1fr width with max-width, reduce button height/margins,
and enable overflow scroll so all items fit smaller terminals.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
shuki
2026-03-05 23:48:15 +02:00
parent 9fb8aeb1ed
commit fd0ccefad0

View File

@@ -13,18 +13,22 @@ Screen {
/* Main menu */
#main-menu {
width: 50;
width: 1fr;
max-width: 60;
padding: 1 2;
overflow-y: auto;
}
#main-menu Button {
width: 100%;
margin: 0 0 1 0;
height: 3;
margin: 0;
}
#logo {
text-align: center;
padding: 0 0 1 0;
height: auto;
padding: 0;
}
/* Data tables */