mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
doc fixes
This commit is contained in:
@@ -19,7 +19,7 @@ class BorderApp(App):
|
||||
def on_mount(self) -> None:
|
||||
self.widget.styles.background = "darkblue"
|
||||
self.widget.styles.width = "50%"
|
||||
self.widget.styles.border = ("tall", "yellow")
|
||||
self.widget.styles.border = ("heavy", "yellow")
|
||||
|
||||
|
||||
app = BorderApp()
|
||||
|
||||
@@ -19,7 +19,7 @@ class OutlineApp(App):
|
||||
def on_mount(self) -> None:
|
||||
self.widget.styles.background = "darkblue"
|
||||
self.widget.styles.width = "50%"
|
||||
self.widget.styles.outline = ("tall", "yellow")
|
||||
self.widget.styles.outline = ("heavy", "yellow")
|
||||
|
||||
|
||||
app = OutlineApp()
|
||||
|
||||
Reference in New Issue
Block a user