Quellcode durchsuchen

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

Allan Cole vor 5 Jahren
Ursprung
Commit
a98d7a9bbe
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  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 {