Skip to content

Commit

Permalink
Merge pull request #844 from driscollis/patch-4
Browse files Browse the repository at this point in the history
Fix minor readability issue in modifying CSS class
  • Loading branch information
willmcgugan authored Oct 7, 2022
2 parents 53d3080 + 0ed13d3 commit f7089c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ The rule is `"display: none"` which tells Textual to hide the button.

### Manipulating classes

Modifying a widget's CSS classes it a convenient way to modify visuals without introducing a lot of messy display related code.
Modifying a widget's CSS classes is a convenient way to update visuals without introducing a lot of messy display related code.

You can add and remove CSS classes with the [add_class()][textual.dom.DOMNode.add_class] and [remove_class()][textual.dom.DOMNode.remove_class] methods. We will use these methods to connect the started state to the Start / Stop buttons.

Expand Down

0 comments on commit f7089c8

Please sign in to comment.