This commit is contained in:
Will McGugan
2022-07-30 13:03:49 +01:00
parent 6be8fb35fe
commit 7ba36c1146
11 changed files with 174 additions and 9 deletions

View File

@@ -4,9 +4,10 @@ from textual.widget import Widget
class WidthApp(App):
CSS = """
Widget {
background: blue 50%;
Screen > Widget {
background: green;
width: 50%;
color: white;
}
"""