Skip to content

Commit

Permalink
Slight style change to ensure tree text is legible
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Jul 24, 2024
1 parent 066e891 commit 2b738e1
Show file tree
Hide file tree
Showing 5 changed files with 202 additions and 201 deletions.
Binary file modified .coverage
Binary file not shown.
2 changes: 1 addition & 1 deletion src/posting/posting.scss
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ TextArea {

Tree {
& > .tree--cursor {
text-style: not dim;
text-style: b;
color: $text;
background: $panel-lighten-1 70%;
}
Expand Down
3 changes: 2 additions & 1 deletion src/posting/widgets/collection/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ def render_label(
base_style + TOGGLE_STYLE,
)
node_label.append("/")
node_label.stylize(Style(dim=True, bold=True))
if self._cursor_node is not node:
node_label.stylize(Style(dim=True, bold=True))
else:
method = (
f"{'█ ' if node is self.currently_open else ' '}{node.data.method[:3]} "
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2b738e1

Please sign in to comment.