Browse Source

Update margins to match in template editor view and main page view

apeatling 5 năm trước cách đây
mục cha
commit
a5a6d54b34
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  1. 7 0
      varia/sass/full-site-editing/_editor.scss

+ 7 - 0
varia/sass/full-site-editing/_editor.scss

@@ -5,6 +5,13 @@
 			margin-right: 0;
 		}
 	}
+
+	// Match margins for template parts rendered in the page and template part editor view.
+	.block-editor-block-list__block-edit {
+		[data-block] {
+			margin: 12px 0 0 0;
+		}
+	}
 }
 
 .template-block {