added output to release blog

This commit is contained in:
Will McGugan
2022-12-10 18:12:48 +00:00
parent f51234498a
commit be7f085ed9

View File

@@ -64,9 +64,24 @@ The Placeholder widget was broken since the big CSS update. We've brought it bac
Use this widget in place of custom widgets you have yet to build when designing your UI. The colors are automatically cycled to differentiate one placeholder rom the next. You can click a placeholder to cycle between its ID, size, and lorem ipsum text. Use this widget in place of custom widgets you have yet to build when designing your UI. The colors are automatically cycled to differentiate one placeholder rom the next. You can click a placeholder to cycle between its ID, size, and lorem ipsum text.
=== "Output"
```{.textual path="docs/examples/widgets/placeholder.py" columns="100" lines="45"} ```{.textual path="docs/examples/widgets/placeholder.py" columns="100" lines="45"}
``` ```
=== "placeholder.py"
```python
--8<-- "docs/examples/widgets/placeholder.py"
```
=== "placeholder.css"
```sass
--8<-- "docs/examples/widgets/placeholder.css"
```
## Fixes ## Fixes
As always, there are a number of fixes in this release. Mostly related to layout. See [CHANGELOG.md](https://github.com/Textualize/textual/blob/main/CHANGELOG.md) for the details. As always, there are a number of fixes in this release. Mostly related to layout. See [CHANGELOG.md](https://github.com/Textualize/textual/blob/main/CHANGELOG.md) for the details.