Browse Source

Dyad 2: Make resized images centered to match editor defaults.

Allan Cole 5 years ago
parent
commit
763c6cbd52
1 changed files with 5 additions and 0 deletions
  1. 5 0
      dyad-2/css/blocks.css

+ 5 - 0
dyad-2/css/blocks.css

@@ -117,6 +117,11 @@ p.has-drop-cap:not(:focus)::first-letter {
 	max-width: 1000%;
 }
 
+.wp-block-image.is-resized {
+	margin-left: auto;
+	margin-right: auto;
+}
+
 /* Gallery */
 
 .wp-block-gallery {