mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Fix links to CSS types.
This commit is contained in:
@@ -5,13 +5,13 @@ The `offset` rule defines an offset for the position of the widget.
|
||||
## Syntax
|
||||
|
||||
--8<-- "docs/snippets/syntax_block_start.md"
|
||||
offset: <a href="../css_types/scalar.md"><scalar></a> <a href="../css_types/scalar.md"><scalar></a>;
|
||||
offset: <a href="../../css_types/scalar"><scalar></a> <a href="../../css_types/scalar"><scalar></a>;
|
||||
|
||||
offset-x: <a href="../css_types/scalar.md"><scalar></a>;
|
||||
offset-y: <a href="../css_types/scalar.md"><scalar></a>
|
||||
offset-x: <a href="../../css_types/scalar"><scalar></a>;
|
||||
offset-y: <a href="../../css_types/scalar"><scalar></a>
|
||||
--8<-- "docs/snippets/syntax_block_end.md"
|
||||
|
||||
The two [`<scalar>`](../css_types/scalar.md) in the `offset` define, respectively, the offsets in the horizontal and vertical axes for the widget.
|
||||
The two [`<scalar>`](../../css_types/scalar) in the `offset` define, respectively, the offsets in the horizontal and vertical axes for the widget.
|
||||
|
||||
To specify an offset along a single axis, you can use `offset-x` and `offset-y`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user