Fix links to CSS types.

This commit is contained in:
Rodrigo Girão Serrão
2022-12-22 18:13:36 +00:00
parent 9d8e4c53dc
commit 8c0f1dc83c
29 changed files with 95 additions and 92 deletions

View File

@@ -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">&lt;scalar&gt;</a> <a href="../css_types/scalar.md">&lt;scalar&gt;</a>;
offset: <a href="../../css_types/scalar">&lt;scalar&gt;</a> <a href="../../css_types/scalar">&lt;scalar&gt;</a>;
offset-x: <a href="../css_types/scalar.md">&lt;scalar&gt;</a>;
offset-y: <a href="../css_types/scalar.md">&lt;scalar&gt;</a>
offset-x: <a href="../../css_types/scalar">&lt;scalar&gt;</a>;
offset-y: <a href="../../css_types/scalar">&lt;scalar&gt;</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`.