Skip to content

Commit

Permalink
Only lower specificity to 0-1-0 to match global styles
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Aug 23, 2024
1 parent 0054b3e commit 7cb7d47
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions packages/block-library/src/post-featured-image/style.scss
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
:where(.wp-block-post-featured-image) {
img {
vertical-align: bottom;
width: 100%;
}
}
.wp-block-post-featured-image {
margin-left: 0;
margin-right: 0;
a {
display: block;
height: 100%;
}
img {
:where(img) {
max-width: 100%;
width: 100%;
height: auto;
vertical-align: bottom;
box-sizing: border-box;
}

Expand Down

0 comments on commit 7cb7d47

Please sign in to comment.