Fix logo/menu vertical alignment on main screen

Remove leading blank line from logo markup and add top margin
to menu so both start at the same visual row.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
shuki
2026-03-06 02:03:28 +02:00
parent 3d5a9cdfdd
commit e6b6d7684a
2 changed files with 3 additions and 4 deletions

View File

@@ -29,8 +29,8 @@ Screen {
#menu-list { #menu-list {
width: 1fr; width: 1fr;
max-width: 35; max-width: 35;
height: 21; height: 20;
margin: 0 2; margin: 1 2 0 2;
} }
/* Data tables */ /* Data tables */

View File

@@ -5,8 +5,7 @@ from textual.widgets.option_list import Option
from textual.containers import Horizontal, Vertical from textual.containers import Horizontal, Vertical
LOGO = """\ LOGO = """\
[green] [green]▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓