Fix typo and capitalisation

This commit is contained in:
Pure
2024-09-26 00:49:28 +08:00
parent 79810e5447
commit f51a246507

View File

@@ -12,7 +12,7 @@ alt_titles:
!!! tip !!! tip
See [*How To Center Things*](https://textual.textualize.io/how-to/center-things/) in the See [*How To Center Things*](https://textual.textualize.io/how-to/center-things/) in the
Textual documentation for a more comprensive answer to this question. Textual documentation for a more comprehensive answer to this question.
To center a widget within a container use To center a widget within a container use
[`align`](https://textual.textualize.io/styles/align/). But remember that [`align`](https://textual.textualize.io/styles/align/). But remember that
@@ -74,7 +74,7 @@ If you want them more like this:
+---------------+ +---------------+
``` ```
the best approach is to wrap each widget in a [`Center` The best approach is to wrap each widget in a [`Center`
container](https://textual.textualize.io/api/containers/#textual.containers.Center) container](https://textual.textualize.io/api/containers/#textual.containers.Center)
that individually centers it. For example: that individually centers it. For example: