mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Border style (#2292)
* border styles * docs for border styles * fix tests * tests * tests and docs * changelog * implement auto * style information fix
This commit is contained in:
@@ -13,12 +13,7 @@ align-vertical: <a href="../../css_types/vertical"><vertical></a>;
|
||||
|
||||
The `align` style takes a [`<horizontal>`](../../css_types/horizontal) followed by a [`<vertical>`](../../css_types/vertical).
|
||||
|
||||
You can specify the alignment of children on both the horizontal and vertical axes at the same time,
|
||||
or on each of the axis separately.
|
||||
To specify alignment on a single axis, use the respective style and type:
|
||||
|
||||
- `align-horizontal` takes a [`<horizontal>`](../../css_types/horizontal) and does alignment along the horizontal axis; and
|
||||
- `align-vertical` takes a [`<vertical>`](../../css_types/vertical) and does alignment along the vertical axis.
|
||||
You can also set the alignment for each axis individually with `align-horizontal` and `align-vertical`.
|
||||
|
||||
## Examples
|
||||
|
||||
|
||||
Reference in New Issue
Block a user