Explorar o código

Dara: Make centred images aligned centred if they're smaller than the available space. See #376.

Laurel Fulford %!s(int64=6) %!d(string=hai) anos
pai
achega
8a66611eb7
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      dara/blocks.css

+ 6 - 0
dara/blocks.css

@@ -47,6 +47,12 @@ p.has-drop-cap:not(:focus)::first-letter {
 	display: block;
 	display: block;
 }
 }
 
 
+.wp-block-image .aligncenter img {
+	display: block;
+	margin-left: auto;
+	margin-right: auto;
+}
+
 /* Gallery */
 /* Gallery */
 
 
 .wp-block-gallery {
 .wp-block-gallery {