Skip to content

Commit

Permalink
Revert removal of inherited border radius style
Browse files Browse the repository at this point in the history
This style is still required so deprecated versions of the image block display correctly on the frontend.
  • Loading branch information
aaronrobertshaw committed Aug 9, 2021
1 parent 43b4156 commit 86a60a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/block-library/src/image/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
max-width: 100%;
}

&:not(.is-style-rounded) img {
border-radius: inherit;
}

&.aligncenter {
text-align: center;
}
Expand Down

0 comments on commit 86a60a7

Please sign in to comment.