Skip to content

Commit 61f645c

Browse files
authored
Merge pull request #5454 from davep/add-missing-option-list-component-class
Add a missing component class from OptionList's documentation
2 parents bc651bb + 957645b commit 61f645c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/textual/widgets/_option_list.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ class OptionList(ScrollView, can_focus=True):
190190
"""
191191
| Class | Description |
192192
| :- | :- |
193+
| `option-list--option` | Target options that are not disabled, highlighted or have the mouse over them. |
193194
| `option-list--option-disabled` | Target disabled options. |
194195
| `option-list--option-highlighted` | Target the highlighted option. |
195196
| `option-list--option-hover` | Target an option that has the mouse over it. |

0 commit comments

Comments
 (0)