mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add text-align CSS type.
This commit is contained in:
14
docs/snippets/type_syntax/text_align.md
Normal file
14
docs/snippets/type_syntax/text_align.md
Normal file
@@ -0,0 +1,14 @@
|
||||
A [`<text-align>`](/css_types/text_align) can be any of the following values:
|
||||
|
||||
| Value | Alignment type |
|
||||
|-----------|--------------------------------------|
|
||||
| `center` | Center alignment. |
|
||||
| `end` | Alias for `right`. |
|
||||
| `justify` | Text is justified inside the widget. |
|
||||
| `left` | Left alignment. |
|
||||
| `right` | Right alignment. |
|
||||
| `start` | Alias for `left`. |
|
||||
|
||||
!!! tip
|
||||
|
||||
The meanings of `start` and `end` will likely change when RTL languages become supported by Textual.
|
||||
Reference in New Issue
Block a user