浏览代码

Illustratr: Removing unneeded margin setting from Gallery block, as it was interfering with the wide alignments. Remove the border and rounded corners from the Code block in the editor.

Laurel Fulford 6 年之前
父节点
当前提交
cbb5ca10c5
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 1 1
      illustratr/blocks.css
  2. 2 0
      illustratr/editor-blocks.css

+ 1 - 1
illustratr/blocks.css

@@ -99,7 +99,7 @@ p.has-drop-cap:not(:focus)::first-letter {
 
 .wp-block-gallery {
 	margin-bottom: 40px;
-	margin-left: auto;
+	margin-left: inherit;
 }
 
 /* Quote */

+ 2 - 0
illustratr/editor-blocks.css

@@ -445,6 +445,8 @@
 
 .wp-block-code {
 	background: #f1f2f3;
+	border: 0;
+	border-radius: 0;
 	letter-spacing: -0.05em;
 	padding: 20px;
 	position: relative;