Skip to content

Commit

Permalink
Merge pull request #5454 from davep/add-missing-option-list-component…
Browse files Browse the repository at this point in the history
…-class

Add a missing component class from OptionList's documentation
  • Loading branch information
willmcgugan authored Jan 10, 2025
2 parents bc651bb + 957645b commit 61f645c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/textual/widgets/_option_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ class OptionList(ScrollView, can_focus=True):
"""
| Class | Description |
| :- | :- |
| `option-list--option` | Target options that are not disabled, highlighted or have the mouse over them. |
| `option-list--option-disabled` | Target disabled options. |
| `option-list--option-highlighted` | Target the highlighted option. |
| `option-list--option-hover` | Target an option that has the mouse over it. |
Expand Down

0 comments on commit 61f645c

Please sign in to comment.