mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Fix and tweak scrollbar corner color reference.
This commit is contained in:
@@ -22,11 +22,11 @@ The `scrollbar-corner-color` sets the color of the gap between the horizontal an
|
||||
|
||||
## Example
|
||||
|
||||
The example below sets the scrollbar corner (bottom-right of the screen) to white.
|
||||
The example below sets the scrollbar corner (bottom-right corner of the screen) to white.
|
||||
|
||||
=== "Output"
|
||||
|
||||
```{.textual path="docs/examples/styles/scrollbar_corner_color.py"}
|
||||
```{.textual path="docs/examples/styles/scrollbar_corner_color.py" lines=5}
|
||||
```
|
||||
|
||||
=== "scrollbar_corner_color.py"
|
||||
@@ -44,11 +44,11 @@ The example below sets the scrollbar corner (bottom-right of the screen) to whit
|
||||
## CSS
|
||||
|
||||
```css
|
||||
scrollbar-color: cyan;
|
||||
scrollbar-corner-color: white;
|
||||
```
|
||||
|
||||
## Python
|
||||
|
||||
```py
|
||||
widget.styles.scrollbar_color = "cyan"
|
||||
widget.styles.scrollbar_corner_color = "white"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user