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 Apr 30, 2021
1 parent 087c2b6 commit fbd6172
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/block-library/src/image/style.scss
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 fbd6172

Please sign in to comment.