mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Revert sandbox
This commit is contained in:
@@ -5,14 +5,11 @@ from textual.widgets import Static
|
||||
|
||||
|
||||
class JustABox(App):
|
||||
|
||||
css_path = "../darren/just_a_box.css"
|
||||
|
||||
def compose(self) -> ComposeResult:
|
||||
yield Static("Hello, world!", classes="box1")
|
||||
|
||||
|
||||
app = JustABox(watch_css=True)
|
||||
app = JustABox(watch_css=True, css_path="../darren/just_a_box.css")
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run()
|
||||
|
||||
Reference in New Issue
Block a user