Skip to content

Commit

Permalink
Highlight a RadioSet when focus is within it
Browse files Browse the repository at this point in the history
  • Loading branch information
davep committed Apr 25, 2023
1 parent f1d7090 commit b36afd8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/textual/widgets/_radio_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ class RadioSet(Container):
width: auto;
}
RadioSet:focus-within {
border: round $accent;
}
App.-light-mode RadioSet {
border: round #CCC;
}
Expand Down

0 comments on commit b36afd8

Please sign in to comment.