mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Put example outputs in first tab.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user