From 957645b3505ab539e4895a85efeaf81702d5e5bc Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Sat, 4 Jan 2025 16:57:11 +0000 Subject: [PATCH] Add a missing component class from OptionList's documentation --- src/textual/widgets/_option_list.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/textual/widgets/_option_list.py b/src/textual/widgets/_option_list.py index 6aeac230ce..37eebcc4a1 100644 --- a/src/textual/widgets/_option_list.py +++ b/src/textual/widgets/_option_list.py @@ -189,6 +189,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. |