mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add note about Textual limitation.
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
|
||||
The `border` rule enables the drawing of a box around a widget.
|
||||
|
||||
!!! note
|
||||
|
||||
Due to a Textual limitation, [`border`](./border.md) and [`outline`](./outline.md) cannot coexist in the same edge of a widget.
|
||||
|
||||
## Syntax
|
||||
|
||||
--8<-- "docs/snippets/syntax_block_start.md"
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
The `outline` rule enables the drawing of a box around the content of a widget, which means the outline is drawn _over_ the content area.
|
||||
|
||||
!!! warning
|
||||
!!! note
|
||||
|
||||
Not to be confused with [`border`](./border.md).
|
||||
Due to a Textual limitation, [`border`](./border.md) and [`outline`](./outline.md) cannot coexist in the same edge of a widget.
|
||||
|
||||
## Syntax
|
||||
|
||||
|
||||
Reference in New Issue
Block a user