mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Fix docs (#2932)
* Fix line highlighting in docs * fix docs: remove duplicated code
This commit is contained in:
committed by
GitHub
parent
f78ffe04b6
commit
5153fe6c92
@@ -243,7 +243,7 @@ The [border](../styles/border.md) style draws a border around a widget. To add a
|
||||
|
||||
The following example adds a border around a widget:
|
||||
|
||||
```python title="border01.py" hl_lines="22"
|
||||
```python title="border01.py" hl_lines="21"
|
||||
--8<-- "docs/examples/guide/styles/border01.py"
|
||||
```
|
||||
|
||||
@@ -321,7 +321,7 @@ The following example creates two widgets with a width of 30, a height of 6, and
|
||||
The first widget has the default `box_sizing` (`"border-box"`).
|
||||
The second widget sets `box_sizing` to `"content-box"`.
|
||||
|
||||
```python title="box_sizing01.py" hl_lines="33"
|
||||
```python title="box_sizing01.py" hl_lines="32"
|
||||
--8<-- "docs/examples/guide/styles/box_sizing01.py"
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user