mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Ensure that toggle buttons are width auto
This commit is contained in:
@@ -42,6 +42,10 @@ class ToggleButton(Static, can_focus=True):
|
||||
"""
|
||||
|
||||
DEFAULT_CSS = """
|
||||
ToggleButton {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
ToggleButton:hover {
|
||||
text-style: bold;
|
||||
background: $boost;
|
||||
|
||||
Reference in New Issue
Block a user