docs: typos

This commit is contained in:
Aaron Stephens
2022-10-12 17:34:29 -07:00
parent 467700c759
commit b9493ae6ff
5 changed files with 5 additions and 5 deletions

View File

@@ -298,7 +298,7 @@ For example, the following will draw a red outline around all widgets:
### Pseudo classes
Pseudo classes can be used to match widgets in a particular state. Psuedo classes are set automatically by Textual. For instance, you might want a button to have a green background when the mouse cursor moves over it. We can do this with the `:hover` pseudo selector.
Pseudo classes can be used to match widgets in a particular state. Pseudo classes are set automatically by Textual. For instance, you might want a button to have a green background when the mouse cursor moves over it. We can do this with the `:hover` pseudo selector.
```sass
Button:hover {

View File

@@ -237,7 +237,7 @@ You can also set padding to a tuple of *four* values which applies padding to ea
### Border
The [border](../styles/border.md) style draws a border around a widget. To add a border set `syles.border` to a tuple of two values. The first value is the border type, which should be a string. The second value is the border color which will accept any value that works with [color](../styles/color.md) and [background](../styles/background.md).
The [border](../styles/border.md) style draws a border around a widget. To add a border set `styles.border` to a tuple of two values. The first value is the border type, which should be a string. The second value is the border color which will accept any value that works with [color](../styles/color.md) and [background](../styles/background.md).
The following example adds a border around a widget: