Skip to content

Commit b8a9528

Browse files
authored
fix: add bold titles (#204)
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 83fa72e commit b8a9528

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/uproot_browser/tui/browser.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ Tools {
5858
overflow: scroll;
5959
}
6060

61+
CollapsibleTitle {
62+
text-style: bold;
63+
}
64+
6165
Footer > .footer--highlight {
6266
background: $secondary-darken-2;
6367
}

src/uproot_browser/tui/tools.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
class Tools(textual.containers.Container):
1010
def compose(self) -> textual.app.ComposeResult:
11-
yield textual.widgets.Label("Tools")
1211
with textual.widgets.Collapsible(title="Theme", collapsed=False):
1312
themes = self.app.available_themes
1413
yield textual.widgets.Select([(t, t) for t in themes], allow_blank=False)
@@ -21,7 +20,6 @@ def select_changed(self, event: textual.widgets.Select.Changed) -> None:
2120

2221
class Info(textual.containers.Container):
2322
def compose(self) -> textual.app.ComposeResult:
24-
yield textual.widgets.Label("Info")
2523
with textual.widgets.Collapsible(title="uproot-browser", collapsed=False):
2624
yield textual.widgets.Label(f"Version: [green]{__version__}[/green]")
2725
with textual.widgets.Collapsible(title="Packages", collapsed=False):

0 commit comments

Comments
 (0)