Skip to content

Commit

Permalink
Use a different approach for selector specificity
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed Dec 18, 2020
1 parent e20398b commit 13c0396
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/block-library/src/rss/style.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
.wp-block-rss {
box-sizing: border-box !important; // The important is needed because of the reset mixin on the parent: https://github.com/WordPress/gutenberg/blob/a250e9e5fe00dd5195624f96a3d924e7078951c3/packages/edit-post/src/style.scss#L54
// This needs extra specificity due to the reset mixin on the parent: https://github.com/WordPress/gutenberg/blob/a250e9e5fe00dd5195624f96a3d924e7078951c3/packages/edit-post/src/style.scss#L54
&.wp-block-rss {
box-sizing: border-box;
}

&.alignleft {
/*rtl:ignore*/
Expand Down

0 comments on commit 13c0396

Please sign in to comment.