docs: Fix some typo (#2216)

This commit is contained in:
Alex
2023-04-05 11:11:27 +02:00
committed by GitHub
parent 41af489648
commit f3f065d147
3 changed files with 3 additions and 3 deletions

View File

@@ -32,6 +32,6 @@ Some rules may clamp the values between `0%` and `100%`.
# Integer followed by %
widget.styles.color = "red 70%"
# The number can be negative/decimal, althought that may not make sense
# The number can be negative/decimal, although that may not make sense
widget.styles.offset = ("-30%", "12.5%")
```

View File

@@ -116,7 +116,7 @@ The `state` attribute will contain one of the following values:
| ERROR | The worker raised an exception, and `worker.error` will contain the exception. |
| SUCCESS | The worker completed successful, and `worker.result` will contain the return value. |
Wokers start with a `PENDING` state, then go to `RUNNING`. From there, they will go to `CANCELLED`, `ERROR` or `SUCCESS`.
Workers start with a `PENDING` state, then go to `RUNNING`. From there, they will go to `CANCELLED`, `ERROR` or `SUCCESS`.
<div class="excalidraw">
--8<-- "docs/images/workers/lifetime.excalidraw.svg"

View File

@@ -30,7 +30,7 @@ between the different views.
1. A `Horizontal` to hold the buttons, each with a unique ID.
2. This button will select the `DataTable` in the `ContentSwitcher`.
3. This button will select the `Markdown` in the `ContentSwitcher`.
4. Note that the intial visible content is set by its ID, see below.
4. Note that the initial visible content is set by its ID, see below.
5. When a button is pressed, its ID is used to switch to a different widget in the `ContentSwitcher`. Remember that IDs are unique within parent, so the buttons and the widgets in the `ContentSwitcher` can share IDs.
=== "content_switcher.css"