mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add subsections for references with 2+ examples.
This commit is contained in:
@@ -30,6 +30,8 @@ This is shown in the second example below.
|
||||
|
||||
## Examples
|
||||
|
||||
### Basic usage
|
||||
|
||||
Note that the second widget is hidden, while leaving a space where it would have been rendered.
|
||||
|
||||
=== "Output"
|
||||
@@ -49,6 +51,8 @@ Note that the second widget is hidden, while leaving a space where it would have
|
||||
--8<-- "docs/examples/styles/visibility.css"
|
||||
```
|
||||
|
||||
### Overriding container visibility
|
||||
|
||||
The next example shows the interaction of the `visibility` rule with invisible containers that have visible children.
|
||||
The app below has three rows with a `Horizontal` container per row and three placeholders per row.
|
||||
The containers all have a white background, and then:
|
||||
|
||||
Reference in New Issue
Block a user