Explorar el Código

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 hace 6 años
padre
commit
cbb5ca10c5
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  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;