Default css

This commit is contained in:
Will McGugan
2022-09-02 09:56:04 +01:00
parent b6728a694f
commit e555b8512f
33 changed files with 64 additions and 50 deletions

View File

@@ -7,7 +7,7 @@ from textual.widget import Widget
class Clock(Widget):
"""A clock app."""
CSS = """
DEFAULT_CSS = """
Clock {
content-align: center middle;
}

View File

@@ -4,7 +4,7 @@ from textual.widgets import Button
class ButtonApp(App):
CSS = """
DEFAULT_CSS = """
Button {
width: 100%;
}