Explorar o 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 %!s(int64=6) %!d(string=hai) anos
pai
achega
cbb5ca10c5
Modificáronse 2 ficheiros con 3 adicións e 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;