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

@@ -57,6 +57,11 @@ This example shows a widget with an outline. Note how the outline occludes the t
The next example shows a grid with all the available outline types.
=== "Output"
```{.textual path="docs/examples/styles/outline_all.py"}
```
=== "outline_all.py"
```py
@@ -69,11 +74,6 @@ The next example shows a grid with all the available outline types.
--8<-- "docs/examples/styles/outline_all.css"
```
=== "Output"
```{.textual path="docs/examples/styles/outline_all.py"}
```
### Borders and outlines
The next example makes the difference between [`border`](./border.md) and [`outline`](./outline.md) clearer by having three labels side-by-side.