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,11 +5,11 @@ The `layer` property defines the layer a widget belongs to.
|
||||
## Syntax
|
||||
|
||||
--8<-- "docs/snippets/syntax_block_start.md"
|
||||
layer: <a href="../css_types/name.md"><name></a>;
|
||||
layer: <a href="../../css_types/name"><name></a>;
|
||||
--8<-- "docs/snippets/syntax_block_end.md"
|
||||
|
||||
The `layer` rule accepts a [`<name>`](../css_types/name.md) that defines the layer this widget belongs to.
|
||||
This [`<name>`](../css_types/name.md) must correspond to a [`<name>`](../css_types/name.md) that has been defined in a [`layers`](./layers.md) rule by an ancestor of this widget.
|
||||
The `layer` rule accepts a [`<name>`](../../css_types/name) that defines the layer this widget belongs to.
|
||||
This [`<name>`](../../css_types/name) must correspond to a [`<name>`](../../css_types/name) that has been defined in a [`layers`](./layers) rule by an ancestor of this widget.
|
||||
|
||||
More information on layers can be found in the [guide](../guide/layout.md#layers).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user