Split layout into separate Python and CSS files for docs example

This commit is contained in:
Darren Burns
2022-08-19 15:25:27 +01:00
parent a26cc3939d
commit 4cb57bb48e
3 changed files with 31 additions and 26 deletions

View File

@@ -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"}