Skip to content

Commit 35ba217

Browse files
committed
remover superfluous label
1 parent cb9115a commit 35ba217

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/textual/widgets/_help_panel.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from textual.app import ComposeResult
66
from textual.css.query import NoMatches
77
from textual.widget import Widget
8-
from textual.widgets import KeyPanel, Label, Markdown
8+
from textual.widgets import KeyPanel, Markdown
99

1010

1111
class HelpPanel(Widget):
@@ -38,14 +38,6 @@ class HelpPanel(Widget):
3838
color: transparent;
3939
}
4040
}
41-
42-
#title {
43-
width: 1fr;
44-
text-align: center;
45-
text-style: bold;
46-
dock: top;
47-
display: none;
48-
}
4941
5042
#widget-help {
5143
height: auto;
@@ -110,6 +102,5 @@ def update_help(self, focused_widget: Widget | None) -> None:
110102
pass
111103

112104
def compose(self) -> ComposeResult:
113-
yield Label("Help", id="title")
114105
yield Markdown(id="widget-help")
115106
yield KeyPanel(id="keys-help")

0 commit comments

Comments
 (0)