File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
packages/block-library/src/image Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 82
82
@include caption-style ();
83
83
}
84
84
85
- // Variations
86
- & .is-style-rounded img ,
87
- .is-style-rounded img {
88
- // We use an absolute pixel to prevent the oval shape that a value of 50% would give
89
- // to rectangular images. A pill-shape is better than otherwise.
90
- border-radius : 9999px ;
91
- }
92
-
93
85
// The following variation is deprecated.
94
86
// The CSS is kept here for the time being, to support blocks using the old variation.
95
87
& .is-style-circle-mask img {
148
140
}
149
141
}
150
142
143
+ // Variations
144
+ :where(.wp-block-image.is-style-rounded img , .wp-block-image .is-style-rounded img ) {
145
+ // We use an absolute pixel to prevent the oval shape that a value of 50% would give
146
+ // to rectangular images. A pill-shape is better than otherwise.
147
+ border-radius : 9999px ;
148
+ }
149
+
151
150
.wp-block-image figure {
152
151
margin : 0 ;
153
152
}
You can’t perform that action at this time.
0 commit comments