From 1ee962516a678695606bb66214f5cbcf0f35e5d0 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Thu, 25 Aug 2022 10:25:46 +0100 Subject: [PATCH] Update docs/guide/CSS.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com> --- docs/guide/CSS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/CSS.md b/docs/guide/CSS.md index 3f25742de..b0719e430 100644 --- a/docs/guide/CSS.md +++ b/docs/guide/CSS.md @@ -54,7 +54,7 @@ Header { The lines inside the curly braces contains CSS _rules_, which consist of a rule name and rule value separated by a colon and ending in a semi-colon. Such rules are typically written one per line, but you could add additional rules as long as they are separated by semi-colons. -The first rule in the above example reads `"dock: top;"`. The rule name is `dock` which tells Textual to place the widget on a edge of the screen. The text after the colon is `top` which tells Textual to dock to the _top_ of the screen. Other valid values for dock are "right", "bottom", or "left"; but `top` is naturally appropriate for a header. +The first rule in the above example reads `"dock: top;"`. The rule name is `dock` which tells Textual to place the widget on an edge of the screen. The text after the colon is `top` which tells Textual to dock to the _top_ of the screen. Other valid values for dock are "right", "bottom", or "left"; but `top` is naturally appropriate for a header. You may be able to guess what some of the the other rules do. We will cover those later.