Document styles (#785)

* Add docs for CSS variables

* Add ref docs for various styles, fix some typos in places
This commit is contained in:
darrenburns
2022-09-15 16:32:23 +01:00
committed by GitHub
parent 69a5cf84df
commit 9e883d3e45
10 changed files with 189 additions and 10 deletions

View File

@@ -16,7 +16,7 @@ max-width: <SCALAR>;
max-width: 10;
/* Set a maximum width of 25% of the screen width */
max-width: 25vh;
max-width: 25vw;
```
## Python
@@ -27,5 +27,4 @@ widget.styles.max_width = 10
# Set the maximum width to 25% of the screen width
widget.styles.max_width = "25vw"
```