mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
more docs
This commit is contained in:
@@ -2,7 +2,7 @@ from textual.app import App
|
||||
from textual.widget import Widget
|
||||
|
||||
|
||||
class WidthApp(App):
|
||||
class HeightApp(App):
|
||||
CSS = """
|
||||
Screen > Widget {
|
||||
background: green;
|
||||
@@ -15,4 +15,4 @@ class WidthApp(App):
|
||||
yield Widget()
|
||||
|
||||
|
||||
app = WidthApp()
|
||||
app = HeightApp()
|
||||
|
||||
Reference in New Issue
Block a user