Skip to content

Commit 5a8c207

Browse files
committed
Twenty Twelve: Restore support for Image block rounded style.
The specificity changes in core block-library styles in 6.6 caused the image block rounded style to have lower specificity than the theme stylesheet. Add the radius ruleset from the block-library styles to Twenty Twelve to restore support. Props lancewillett, sabernhardt, mukesh27, dhruvang21, rollybueno, shailu25, joedolson. Fixes #64041. git-svn-id: https://develop.svn.wordpress.org/trunk@61107 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 945619c commit 5a8c207

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/wp-content/themes/twentytwelve/css/blocks.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ p.has-drop-cap:not(:focus)::first-letter {
6969
margin: 0.857142857rem 0 0.857142857rem 1.714285714rem;
7070
}
7171

72+
.wp-block-image.is-style-rounded img,
73+
.wp-block-image .is-style-rounded img {
74+
border-radius: 9999px;
75+
}
76+
7277
.wp-block-image figcaption {
7378
padding-top: 0.75em;
7479
}

0 commit comments

Comments
 (0)