Merge pull request #925 from davep/css-docs-review-style-reference

CSS docs review - Styles reference
This commit is contained in:
Dave Pearson
2022-10-16 10:08:54 +01:00
committed by GitHub
3 changed files with 5 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ display: [none|block];
## Example
Note that the second widget is hidden by adding the "hidden" class which sets the display style to None.
Note that the second widget is hidden by adding the `"remove"` class which sets the display style to None.
=== "display.py"

View File

@@ -43,7 +43,7 @@ For example, `heavy white` would display a heavy white line around a widget.
## Example
This examples shows a widget with an outline. Note how the outline occludes the text area.
This example shows a widget with an outline. Note how the outline occludes the text area.
=== "outline.py"
@@ -78,6 +78,6 @@ outline-left:outer red;
# Set a heavy white outline
widget.outline = ("heavy", "white)
# Set a red outline on the left
widget.outline_left = ("outer", "red)
# Set a red outline on the left
widget.outline_left = ("outer", "red)
```

View File

@@ -12,7 +12,7 @@ scrollbar-size: <INTEGER> <INTEGER>;
## Example
In this example we modify the size of the widgets scrollbar to be _much_ larger than usual.
In this example we modify the size of the widget's scrollbar to be _much_ larger than usual.
=== "scrollbar_size.py"