Put example outputs in first tab.

This commit is contained in:
Rodrigo Girão Serrão
2023-01-09 13:57:04 +00:00
parent e7afcbc0b5
commit 1300807b3a
13 changed files with 90 additions and 91 deletions

View File

@@ -19,6 +19,11 @@ display: block | none;
Note that the second widget is hidden by adding the `"remove"` class which sets the display style to `none`.
=== "Output"
```{.textual path="docs/examples/styles/display.py"}
```
=== "display.py"
```python
@@ -31,11 +36,6 @@ Note that the second widget is hidden by adding the `"remove"` class which sets
--8<-- "docs/examples/styles/display.css"
```
=== "Output"
```{.textual path="docs/examples/styles/display.py"}
```
## CSS
```sass