Skip to content

Commit

Permalink
words
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Sep 21, 2023
1 parent 05b8251 commit 4219ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/blog/posts/release0-38-0.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class MyWidget(Widget):
```

The author has intended to style the labels in that widget by adding a green border.
This does work for the widget in question, but (prior to 0.38.0) the `Label` rule would style *all* Labels — which was probably not intended.
This does work for the widget in question, but (prior to 0.38.0) the `Label` rule would style *all* Labels (including any outside of the widget) — which was probably not intended.

With version 0.38.0, the CSS is scoped so that only the widget's labels will be styled.
This is almost always what you want, which is why it is enabled by default.
Expand Down

0 comments on commit 4219ce4

Please sign in to comment.