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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user