From ed20f4a8e68c90864b9860d18ea4b8e284942dca Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Thu, 13 Oct 2022 14:23:26 +0100 Subject: [PATCH] Add code markup a string that is a widget ID Elsewhere in the docs we see `"something"` for a class, so I feel it follows that "#something" should really be `"#something"` too. --- docs/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial.md b/docs/tutorial.md index edd46d18f..97704a9d1 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -317,7 +317,7 @@ Some of the new styles have more than one selector separated by a space. The spa } ``` -The `.started` selector matches any widget with a `"started"` CSS class. While `#start` matches a child widget with an ID of "start". So it matches the Start button only for Stopwatches in a started state. +The `.started` selector matches any widget with a `"started"` CSS class. While `#start` matches a child widget with an ID of `"start"`. So it matches the Start button only for Stopwatches in a started state. The rule is `"display: none"` which tells Textual to hide the button.