Browse Source

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

Allan Cole 5 năm trước cách đây
mục cha
commit
a98d7a9bbe
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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 {