mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Merge branch 'css' of github.com:Textualize/textual into delay-transition
This commit is contained in:
@@ -24,8 +24,9 @@ class JustABox(App):
|
||||
self.bind("s", "toggle_class('#sidebar', '-active')", description="Sidebar")
|
||||
|
||||
def compose(self) -> ComposeResult:
|
||||
self.box = Box()
|
||||
self.box = Box(classes="box1")
|
||||
yield self.box
|
||||
yield Box(classes="box2")
|
||||
yield Widget(id="sidebar")
|
||||
|
||||
def key_a(self):
|
||||
|
||||
Reference in New Issue
Block a user