From e6b6d7684a22ad952d6aa6de6f5c998670c139b0 Mon Sep 17 00:00:00 2001 From: shuki Date: Fri, 6 Mar 2026 02:03:28 +0200 Subject: [PATCH] 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 --- tui/gniza.tcss | 4 ++-- tui/screens/main_menu.py | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tui/gniza.tcss b/tui/gniza.tcss index c900f89..079f7e3 100644 --- a/tui/gniza.tcss +++ b/tui/gniza.tcss @@ -29,8 +29,8 @@ Screen { #menu-list { width: 1fr; max-width: 35; - height: 21; - margin: 0 2; + height: 20; + margin: 1 2 0 2; } /* Data tables */ diff --git a/tui/screens/main_menu.py b/tui/screens/main_menu.py index 3d32b15..76eaa39 100644 --- a/tui/screens/main_menu.py +++ b/tui/screens/main_menu.py @@ -5,8 +5,7 @@ from textual.widgets.option_list import Option from textual.containers import Horizontal, Vertical LOGO = """\ -[green] -▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ +[green]▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓