mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Split layout into separate Python and CSS files for docs example
This commit is contained in:
@@ -26,6 +26,12 @@ Note how the `layout` property affects the arrangement of widgets in the example
|
||||
--8<-- "docs/examples/styles/layout.py"
|
||||
```
|
||||
|
||||
=== "layout.css"
|
||||
|
||||
```sass
|
||||
--8<-- "docs/examples/styles/layout.css"
|
||||
```
|
||||
|
||||
=== "Output"
|
||||
|
||||
```{.textual path="docs/examples/styles/layout.py"}
|
||||
|
||||
Reference in New Issue
Block a user