Browse Source

Dyad 2: Set max-width on floated cover blocks to match frontend.

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

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

@@ -327,6 +327,11 @@ p.has-drop-cap:not(:focus)::first-letter {
 	font-size: 24px;
 }
 
+[data-align="left"] .wp-block-cover,
+[data-align="right"] .wp-block-cover {
+	max-width: 290px;
+}
+
 /* File */
 
 .wp-block-file .wp-block-file__textlink {