Skip to content

Commit 4d0c913

Browse files
committed
Fix CSS in ToggleButton
1 parent 2ff9d2e commit 4d0c913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/textual/widgets/_toggle_button.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class ToggleButton(Static, can_focus=True):
7575
}
7676
}
7777
78-
ToggleButton:hover {
78+
&:hover {
7979
background: $highlight-hover;
8080
}
8181
}

0 commit comments

Comments
 (0)