* Fix line highlighting in docs

* fix docs: remove duplicated code
This commit is contained in:
Sepehr Shirkhanlu
2023-07-23 19:19:59 +03:30
committed by GitHub
parent f78ffe04b6
commit 5153fe6c92
2 changed files with 2 additions and 3 deletions

View File

@@ -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"
```