Ensure that toggle buttons are width auto

This commit is contained in:
Dave Pearson
2023-02-23 10:54:09 +00:00
parent ceade8a242
commit af3c5f15c6

View File

@@ -42,6 +42,10 @@ class ToggleButton(Static, can_focus=True):
"""
DEFAULT_CSS = """
ToggleButton {
width: auto;
}
ToggleButton:hover {
text-style: bold;
background: $boost;