Przeglądaj źródła

Set a max-width on the editor body for non-alignwide and alignfull elements

Caroline Moore 6 lat temu
rodzic
commit
ae74614ad1
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      affinity/editor-blocks.css

+ 2 - 1
affinity/editor-blocks.css

@@ -150,7 +150,8 @@
 
 body.gutenberg-editor-page .edit-post-visual-editor .editor-post-title__block,
 body.gutenberg-editor-page .edit-post-visual-editor .editor-default-block-appender,
-body.gutenberg-editor-page .edit-post-visual-editor .editor-block-list__block {
+body.gutenberg-editor-page .edit-post-visual-editor .editor-block-list__block:not([data-align=wide]):not([data-align=full]) {
+	max-width: 716px;
 }
 
 /* Link styles */