diff --git a/docs/styles/padding.md b/docs/styles/padding.md index 75207b62a..79cd51954 100644 --- a/docs/styles/padding.md +++ b/docs/styles/padding.md @@ -10,6 +10,8 @@ Padding may also be set individually, following the same pattern as above, by se ## Example +This example adds padding around static text. + === "padding.py" ```python diff --git a/docs/styles/scrollbar.md b/docs/styles/scrollbar.md index 7a8a3912b..9a11b1cd9 100644 --- a/docs/styles/scrollbar.md +++ b/docs/styles/scrollbar.md @@ -2,18 +2,18 @@ There are a number of rules to set the colors used in Textual scrollbars. You won't typically need to do this, as the default themes have carefully chosen colors, but you can if you want to. -| Rule | Color | -| ---------------------------- | ------------------------------------------------------- | -| `scrollbar-color` | Scrollbar "thumb" (movable part) | -| `scrollbar-color-hover` | Scrollbar thumb when the mouse is hovering over it | -| `scrollbar-color-active` | Scrollbar thumb when it is active (being dragged) | -| `scrollbar-background` | Scrollbar background | -| `scrollbar-background-hover` | Scrollbar background when the mouse is hovering over it | -| `scrollbar-color-active` | Scrollbar background when the thumb is being dragged | +| Rule | Color | +| ----------------------------- | ------------------------------------------------------- | +| `scrollbar-color` | Scrollbar "thumb" (movable part) | +| `scrollbar-color-hover` | Scrollbar thumb when the mouse is hovering over it | +| `scrollbar-color-active` | Scrollbar thumb when it is active (being dragged) | +| `scrollbar-background` | Scrollbar background | +| `scrollbar-background-hover` | Scrollbar background when the mouse is hovering over it | +| `scrollbar-background-active` | Scrollbar background when the thumb is being dragged | ## Example -In this example we have two panels, with different scrollbar colors set for each. +In this example we have two panels with different scrollbar colors set for each. === "scrollbars.py" diff --git a/docs/styles/text_style.md b/docs/styles/text_style.md index 030192b0c..3dc1037fe 100644 --- a/docs/styles/text_style.md +++ b/docs/styles/text_style.md @@ -14,6 +14,8 @@ Text styles may be set in combination. For example "bold underline" or "reverse ## Example +Each of the three text panels has a different text style. + === "text_style.py" ```python