Преглед на файлове

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;