From dffdb63e9d0f8aac688367a1b3ef4b7e7f1164b2 Mon Sep 17 00:00:00 2001 From: Sundeep Agarwal Date: Mon, 28 Nov 2022 10:17:26 +0530 Subject: [PATCH] fixed typos --- docs/guide/styles.md | 4 ++-- docs/styles/height.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guide/styles.md b/docs/guide/styles.md index 0c3766e2c..270ad34cf 100644 --- a/docs/guide/styles.md +++ b/docs/guide/styles.md @@ -48,9 +48,9 @@ Note how the combined height of the widget is three rows in the terminal. This i ## Colors -There are a number of style attributes which accept colors. The most commonly used are [color](../styles/color.md) which sets the default color of text on a widget, and [background](..styles/background/md) which sets the background color (beneath the text). +There are a number of style attributes which accept colors. The most commonly used are [color](../styles/color.md) which sets the default color of text on a widget, and [background](../styles/background.md) which sets the background color (beneath the text). -You can set a color value to one of a number of pre-defined color constants, such as `"crimson"`, `"lime"`, and `"palegreen"`. You can find a full list in the [Color reference](../reference/color.md#textual.color--named-colors). +You can set a color value to one of a number of pre-defined color constants, such as `"crimson"`, `"lime"`, and `"palegreen"`. You can find a full list in the [Color API](../api/color.md#textual.color--named-colors). Here's how you would set the screen background to lime: diff --git a/docs/styles/height.md b/docs/styles/height.md index b4488ac07..18622615d 100644 --- a/docs/styles/height.md +++ b/docs/styles/height.md @@ -39,7 +39,7 @@ height: 10; height: 50%; /* Automatic height */ -width: auto +height: auto ``` ## Python