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:
@@ -9,10 +9,10 @@ The `column-span` style specifies how many rows a widget will span in a grid lay
|
||||
## Syntax
|
||||
|
||||
--8<-- "docs/snippets/syntax_block_start.md"
|
||||
column-span: <a href="../css_types/integer.md"><integer></a>;
|
||||
column-span: <a href="../../css_types/integer"><integer></a>;
|
||||
--8<-- "docs/snippets/syntax_block_end.md"
|
||||
|
||||
The style `column-span` accepts a single non-negative [`<integer>`](../../css_types/integer.md) that quantifies how many columns the given widget spans.
|
||||
The style `column-span` accepts a single non-negative [`<integer>`](../../../css_types/integer) that quantifies how many columns the given widget spans.
|
||||
|
||||
### Values
|
||||
|
||||
|
||||
@@ -9,13 +9,13 @@ The `grid-columns` style allows to define the width of the columns of the grid.
|
||||
## Syntax
|
||||
|
||||
--8<-- "docs/snippets/syntax_block_start.md"
|
||||
grid-columns: <a href="../css_types/scalar.md"><scalar></a>+;
|
||||
grid-columns: <a href="../../css_types/scalar"><scalar></a>+;
|
||||
--8<-- "docs/snippets/syntax_block_end.md"
|
||||
|
||||
The style `grid-columns` takes one or more [`<scalar>`](../../css_types/scalar.md) that specify the length of the columns of the grid.
|
||||
The style `grid-columns` takes one or more [`<scalar>`](../../../css_types/scalar) that specify the length of the columns of the grid.
|
||||
|
||||
If there are more columns in the grid than scalars specified in `grid-columns`, they are reused cyclically.
|
||||
If the number of [`<scalar>`](../../css_types/scalar.md) is in excess, the excess is ignored.
|
||||
If the number of [`<scalar>`](../../../css_types/scalar) is in excess, the excess is ignored.
|
||||
|
||||
### Values
|
||||
|
||||
|
||||
@@ -13,11 +13,11 @@ No spacing is added between the edges of cells and the edges of the container.
|
||||
## Syntax
|
||||
|
||||
--8<-- "docs/snippets/syntax_block_start.md"
|
||||
grid-gutter: <a href="../css_types/scalar.md"><scalar></a> [<a href="../css_types/scalar.md"><scalar></a>];
|
||||
grid-gutter: <a href="../../css_types/scalar"><scalar></a> [<a href="../../css_types/scalar"><scalar></a>];
|
||||
--8<-- "docs/snippets/syntax_block_end.md"
|
||||
|
||||
The style `grid-gutter` takes one or two [`<scalar>`](../../css_types/scalar.md) that set the length of the gutter along the vertical and horizontal axes.
|
||||
If only one [`<scalar>`](../../css_types/scalar.md) is supplied, it sets the vertical and horizontal gutters.
|
||||
The style `grid-gutter` takes one or two [`<scalar>`](../../../css_types/scalar) that set the length of the gutter along the vertical and horizontal axes.
|
||||
If only one [`<scalar>`](../../../css_types/scalar) is supplied, it sets the vertical and horizontal gutters.
|
||||
If two are supplied, they set the vertical and horizontal gutters, respectively.
|
||||
|
||||
### Values
|
||||
|
||||
@@ -9,13 +9,13 @@ The `grid-rows` style allows to define the height of the rows of the grid.
|
||||
## Syntax
|
||||
|
||||
--8<-- "docs/snippets/syntax_block_start.md"
|
||||
grid-rows: <a href="../css_types/scalar.md"><scalar></a>+;
|
||||
grid-rows: <a href="../../css_types/scalar"><scalar></a>+;
|
||||
--8<-- "docs/snippets/syntax_block_end.md"
|
||||
|
||||
The style `grid-rows` takes one or more [`<scalar>`](../../css_types/scalar.md) that specify the length of the rows of the grid.
|
||||
The style `grid-rows` takes one or more [`<scalar>`](../../../css_types/scalar) that specify the length of the rows of the grid.
|
||||
|
||||
If there are more rows in the grid than scalars specified in `grid-rows`, they are reused cyclically.
|
||||
If the number of [`<scalar>`](../../css_types/scalar.md) is in excess, the excess is ignored.
|
||||
If the number of [`<scalar>`](../../../css_types/scalar) is in excess, the excess is ignored.
|
||||
|
||||
### Values
|
||||
|
||||
|
||||
@@ -11,10 +11,10 @@ The number of rows can be left unspecified and it will be computed automatically
|
||||
## Syntax
|
||||
|
||||
--8<-- "docs/snippets/syntax_block_start.md"
|
||||
grid-size: <a href="../css_types/integer.md"><integer></a> [<a href="../css_types/integer.md"><integer></a>];
|
||||
grid-size: <a href="../../css_types/integer"><integer></a> [<a href="../../css_types/integer"><integer></a>];
|
||||
--8<-- "docs/snippets/syntax_block_end.md"
|
||||
|
||||
The style `grid-size` takes one or two non-negative [`<integer>`](../../css_types/integer.md).
|
||||
The style `grid-size` takes one or two non-negative [`<integer>`](../../../css_types/integer).
|
||||
The first defines how many columns there are in the grid.
|
||||
If present, the second one sets the number of rows – regardless of the number of children of the grid –, otherwise the number of rows is computed automatically.
|
||||
|
||||
|
||||
@@ -16,17 +16,17 @@ For an in-depth look at the grid layout, visit the grid [guide](../guide/layout.
|
||||
## Syntax
|
||||
|
||||
--8<-- "docs/snippets/syntax_block_start.md"
|
||||
<a href="./column_span.md">column-span</a>: <a href="../css_types/integer.md"><integer></a>;
|
||||
<a href="./column_span.md">column-span</a>: <a href="../../css_types/integer"><integer></a>;
|
||||
|
||||
<a href="./grid_columns.md">grid-columns</a>: <a href="../css_types/scalar.md"><scalar></a>+;
|
||||
<a href="./grid_columns.md">grid-columns</a>: <a href="../../css_types/scalar"><scalar></a>+;
|
||||
|
||||
<a href="./grid_gutter.md">grid-gutter</a>: <a href="../css_types/scalar.md"><scalar></a> [<a href="../css_types/scalar.md"><scalar></a>];
|
||||
<a href="./grid_gutter.md">grid-gutter</a>: <a href="../../css_types/scalar"><scalar></a> [<a href="../../css_types/scalar"><scalar></a>];
|
||||
|
||||
<a href="./grid_rows.md">grid-rows</a>: <a href="../css_types/scalar.md"><scalar></a>+;
|
||||
<a href="./grid_rows.md">grid-rows</a>: <a href="../../css_types/scalar"><scalar></a>+;
|
||||
|
||||
<a href="./grid_size.md">grid-size</a>: <a href="../css_types/integer.md"><integer></a> [<a href="../css_types/integer.md"><integer></a>];
|
||||
<a href="./grid_size.md">grid-size</a>: <a href="../../css_types/integer"><integer></a> [<a href="../../css_types/integer"><integer></a>];
|
||||
|
||||
<a href="./row_span.md">row-span</a>: <a href="../css_types/integer.md"><integer></a>;
|
||||
<a href="./row_span.md">row-span</a>: <a href="../../css_types/integer"><integer></a>;
|
||||
--8<-- "docs/snippets/syntax_block_end.md"
|
||||
|
||||
Visit each style's reference page to learn more about how the values are used.
|
||||
|
||||
@@ -9,10 +9,10 @@ The `row-span` style specifies how many rows a widget will span in a grid layout
|
||||
## Syntax
|
||||
|
||||
--8<-- "docs/snippets/syntax_block_start.md"
|
||||
row-span: <a href="../css_types/integer.md"><integer></a>;
|
||||
row-span: <a href="../../css_types/integer"><integer></a>;
|
||||
--8<-- "docs/snippets/syntax_block_end.md"
|
||||
|
||||
The style `row-span` accepts a single non-negative [`<integer>`](../../css_types/integer.md) that quantifies how many rows the given widget spans.
|
||||
The style `row-span` accepts a single non-negative [`<integer>`](../../../css_types/integer) that quantifies how many rows the given widget spans.
|
||||
|
||||
### Values
|
||||
|
||||
|
||||
Reference in New Issue
Block a user