Browse Source

Independent Publisher 2: Adjust images styles (#1789)

Niels Lange 5 years ago
parent
commit
5a07756a3c

+ 10 - 0
independent-publisher-2/css/blocks.css

@@ -90,6 +90,16 @@ p.has-drop-cap:not(:focus)::first-letter {
 	margin-top: 0.15em;
 }
 
+/* Image */
+
+.wp-block-image.is-style-default img[class*="wp-image-"] {
+	border-radius: 3px;
+}
+
+.wp-block-image.is-style-rounded img[class*="wp-image-"] {
+	border-radius: 9999px;
+}
+
 /* Gallery */
 
 .wp-block-gallery {

+ 10 - 0
independent-publisher-2/css/editor-blocks.css

@@ -282,6 +282,16 @@ p.has-drop-cap:not(:focus)::first-letter {
 	margin-top: 0.15em;
 }
 
+/* Image */
+
+.wp-block-image.is-style-default img {
+	border-radius: 3px;
+}
+
+.wp-block-image.is-style-rounded img {
+	border-radius: 9999px;
+}
+
 /* Quote */
 
 .wp-block-quote {