Skip to content

Commit

Permalink
simplify space between FooterKeys to grid gutter
Browse files Browse the repository at this point in the history
  • Loading branch information
TomJGooding committed Jun 21, 2024
1 parent 1a26506 commit f9fa144
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/textual/widgets/_footer.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ def render(self) -> Text:
),
" " * key_margin.right,
(description, description_style),
" ",
)
label_text.stylize_before(self.rich_style)
return label_text
Expand All @@ -135,14 +134,12 @@ class Footer(ScrollableContainer, can_focus=False, can_focus_children=False):
Footer {
layout: grid;
grid-columns: auto;
grid-gutter: 1;
background: $panel;
color: $text;
dock: bottom;
height: 1;
scrollbar-size: 0 0;
&.-compact {
grid-gutter: 1;
}
}
"""

Expand Down

0 comments on commit f9fa144

Please sign in to comment.