mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add pages for horizontal and vertical types.
This commit is contained in:
7
docs/snippets/type_syntax/horizontal.md
Normal file
7
docs/snippets/type_syntax/horizontal.md
Normal file
@@ -0,0 +1,7 @@
|
||||
The [`<horizontal>`](/css_types/horizontal) type can take any of the following values:
|
||||
|
||||
| Value | Description |
|
||||
| ---------------- | -------------------------------------------- |
|
||||
| `left` (default) | Aligns on the left of the horizontal axis. |
|
||||
| `center` | Aligns in the center of the horizontal axis. |
|
||||
| `right` | Aligns on the right of the horizontal axis. |
|
||||
7
docs/snippets/type_syntax/vertical.md
Normal file
7
docs/snippets/type_syntax/vertical.md
Normal file
@@ -0,0 +1,7 @@
|
||||
The [`<vertical>`](/css_types/vertical) type can take any of the following values:
|
||||
|
||||
| Value | Description |
|
||||
| --------------- | ------------------------------------------ |
|
||||
| `top` (default) | Aligns at the top of the vertical axis. |
|
||||
| `middle` | Aligns in the middle of the vertical axis. |
|
||||
| `bottom` | Aligns at the bottom of the vertical axis. |
|
||||
Reference in New Issue
Block a user