From 4d0c91341a59f04dd5a0cd4ed7f5635b94fa2631 Mon Sep 17 00:00:00 2001 From: Darren Burns Date: Mon, 14 Oct 2024 16:25:04 +0100 Subject: [PATCH] Fix CSS in ToggleButton --- src/textual/widgets/_toggle_button.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textual/widgets/_toggle_button.py b/src/textual/widgets/_toggle_button.py index 7b73b71736..a6011d658f 100644 --- a/src/textual/widgets/_toggle_button.py +++ b/src/textual/widgets/_toggle_button.py @@ -75,7 +75,7 @@ class ToggleButton(Static, can_focus=True): } } - ToggleButton:hover { + &:hover { background: $highlight-hover; } }