From e9968bcb9b7109fffdb33161889b2e36d5ae3cf1 Mon Sep 17 00:00:00 2001 From: TomJGooding <101601846+TomJGooding@users.noreply.github.com> Date: Sun, 14 Sep 2025 09:39:53 +0100 Subject: [PATCH 1/2] chore(footer): clean up unused line of CSS Clean up an unused line of CSS in `Footer`, presumably just left over from when binding groups were added. --- src/textual/widgets/_footer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/textual/widgets/_footer.py b/src/textual/widgets/_footer.py index 07572e1b90..75511aa9df 100644 --- a/src/textual/widgets/_footer.py +++ b/src/textual/widgets/_footer.py @@ -185,9 +185,8 @@ class Footer(ScrollableContainer, can_focus=False, can_focus_children=False): } FooterLabel { margin: 0 1; - background: red; - color: $footer-description-foreground; background: $footer-description-background; + color: $footer-description-foreground; } } """ From 786fe4253e96041f162852ee3b0ddb7e468e6e96 Mon Sep 17 00:00:00 2001 From: TomJGooding <101601846+TomJGooding@users.noreply.github.com> Date: Sun, 14 Sep 2025 09:47:35 +0100 Subject: [PATCH 2/2] chore(footer): clean trailing whitespace in CSS --- src/textual/widgets/_footer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/textual/widgets/_footer.py b/src/textual/widgets/_footer.py index 75511aa9df..3e9d3de1e9 100644 --- a/src/textual/widgets/_footer.py +++ b/src/textual/widgets/_footer.py @@ -137,7 +137,7 @@ class Footer(ScrollableContainer, can_focus=False, can_focus_children=False): ALLOW_SELECT = False DEFAULT_CSS = """ Footer { - layout: horizontal; + layout: horizontal; color: $footer-foreground; background: $footer-background; dock: bottom; @@ -151,7 +151,7 @@ class Footer(ScrollableContainer, can_focus=False, can_focus_children=False): padding-right: 1; border-left: vkey $foreground 20%; } - HorizontalGroup.binding-group { + HorizontalGroup.binding-group { width: auto; height: 1; layout: horizontal;