Skip to content

Commit 18bcbd6

Browse files
authored
Merge pull request #5428 from davep/fix-footer-typo
Correct a typo in the `Footer.__init__` docstring
2 parents 06e7787 + 43b56b6 commit 18bcbd6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Diff for: src/textual/widgets/_footer.py

+10-10
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class FooterKey(Widget):
4949
}
5050
5151
&.-disabled {
52-
text-style: dim;
52+
text-style: dim;
5353
}
5454
5555
&.-compact {
@@ -59,7 +59,7 @@ class FooterKey(Widget):
5959
.footer-key--description {
6060
padding: 0 0 0 1;
6161
}
62-
}
62+
}
6363
}
6464
"""
6565

@@ -136,20 +136,20 @@ class Footer(ScrollableContainer, can_focus=False, can_focus_children=False):
136136
grid-gutter: 1;
137137
}
138138
FooterKey.-command-palette {
139-
dock: right;
139+
dock: right;
140140
padding-right: 1;
141-
border-left: vkey $foreground 20%;
141+
border-left: vkey $foreground 20%;
142142
}
143143
144-
&:ansi {
145-
background: ansi_default;
144+
&:ansi {
145+
background: ansi_default;
146146
.footer-key--key {
147147
background: ansi_default;
148-
color: ansi_magenta;
148+
color: ansi_magenta;
149149
}
150150
.footer-key--description {
151151
background: ansi_default;
152-
color: ansi_default;
152+
color: ansi_default;
153153
}
154154
FooterKey:hover {
155155
text-style: underline;
@@ -158,7 +158,7 @@ class Footer(ScrollableContainer, can_focus=False, can_focus_children=False):
158158
.footer-key--key {
159159
background: ansi_default;
160160
}
161-
}
161+
}
162162
FooterKey.-command-palette {
163163
background: ansi_default;
164164
border-left: vkey ansi_black;
@@ -191,7 +191,7 @@ def __init__(
191191
id: The ID of the widget in the DOM.
192192
classes: The CSS classes for the widget.
193193
disabled: Whether the widget is disabled or not.
194-
show_command_palette: Show key binding to command palette, on the right of the footer.
194+
show_command_palette: Show key binding to invoke the command palette, on the right of the footer.
195195
"""
196196
super().__init__(
197197
*children,

0 commit comments

Comments
 (0)