Skip to content

Commit d8d3581

Browse files
committed
Align banner info block on the logo baseline
The 3-line right block (brand/version, counts, /help hint) now sits at the bottom of the 6-line ASCII logo instead of being top-aligned. Last line of the right block aligns with "code v2.3.0" at the bottom of the logo. Implementation: add margin-top: 3 to #banner-info so its three lines occupy rows 4-6. Removed the unused align/content-align declarations that didn't take effect (Textual ignores align on a Horizontal sized auto/auto since there is no leftover space to distribute). 22 snapshots regenerated to reflect the new baseline.
1 parent ecb4011 commit d8d3581

23 files changed

Lines changed: 248 additions & 250 deletions

‎albert_code/cli/textual_ui/app.tcss‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,6 @@ ContextProgress {
925925
}
926926

927927
#banner-container {
928-
align: left middle;
929928
padding: 0 1 0 0;
930929
width: auto;
931930
}
@@ -937,8 +936,7 @@ ContextProgress {
937936
#banner-info {
938937
width: auto;
939938
height: auto;
940-
margin-left: 2;
941-
content-align: left middle;
939+
margin: 3 0 0 2;
942940
}
943941

944942
.banner-line {

‎tests/snapshots/__snapshots__/test_ui_snapshot_ask_user_question/test_snapshot_ask_user_question_collapsed.svg‎

Lines changed: 11 additions & 11 deletions
Loading

0 commit comments

Comments
 (0)