Skip to content

Commit c2cd135

Browse files
committed
Fix a couple of typos in DirectoryTree.process_label
1 parent dba380e commit c2cd135

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/textual/widgets/_directory_tree.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,19 @@ class DirectoryTree(Tree[DirEntry]):
4747

4848
DEFAULT_CSS = """
4949
DirectoryTree > .directory-tree--folder {
50-
text-style: bold;
50+
text-style: bold;
5151
}
5252
5353
DirectoryTree > .directory-tree--file {
54-
54+
5555
}
5656
57-
DirectoryTree > .directory-tree--extension {
58-
text-style: italic;
57+
DirectoryTree > .directory-tree--extension {
58+
text-style: italic;
5959
}
6060
6161
DirectoryTree > .directory-tree--hidden {
62-
color: $text 50%;
62+
color: $text 50%;
6363
}
6464
"""
6565

@@ -87,7 +87,7 @@ def __init__(
8787
)
8888

8989
def process_label(self, label: TextType):
90-
"""Process a str or Text in to a label. Maybe overridden in a subclass to change modify how labels are rendered.
90+
"""Process a str or Text into a label. Maybe overridden in a subclass to modify how labels are rendered.
9191
9292
Args:
9393
label (TextType): Label.

0 commit comments

Comments
 (0)