mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
@@ -1,6 +1,6 @@
|
||||
# Min-width
|
||||
|
||||
The `min-width` rule sets a minimum width for a widget.
|
||||
The `min-width` style sets a minimum width for a widget.
|
||||
|
||||
## Syntax
|
||||
|
||||
@@ -8,7 +8,7 @@ The `min-width` rule sets a minimum width for a widget.
|
||||
min-width: <a href="../../css_types/scalar"><scalar></a>;
|
||||
--8<-- "docs/snippets/syntax_block_end.md"
|
||||
|
||||
The `min-width` rule accepts a [`<scalar>`](../../css_types/scalar) that defines a lower bound for the [`width`](./width) of a widget.
|
||||
The `min-width` style accepts a [`<scalar>`](../../css_types/scalar) that defines a lower bound for the [`width`](./width) of a widget.
|
||||
That is, the width of a widget is never allowed to be under `min-width`.
|
||||
|
||||
## Example
|
||||
|
||||
Reference in New Issue
Block a user