Procházet zdrojové kódy

Small fixes for file block and latest comments block.

Caroline Moore před 6 roky
rodič
revize
d59c2be261
2 změnil soubory, kde provedl 5 přidání a 5 odebrání
  1. 4 4
      illustratr/blocks.css
  2. 1 1
      illustratr/editor-blocks.css

+ 4 - 4
illustratr/blocks.css

@@ -212,13 +212,13 @@ figure.alignfull,
 	padding: 10px 20px;
 	background: #464d4d;
 	border: 1px solid #464d4d;
+	border-radius: 0;
+	box-shadow: none;
 	color: white;
 	text-transform: uppercase;
 	font-weight: 900;
 	cursor: pointer;
 	/* Improves usability and consistency of cursor style between image-type 'input' and others */
-	-webkit-appearance: button;
-	/* Corrects inability to style clickable 'input' types in iOS */
 }
 
 .wp-block-file .wp-block-file__button:hover,
@@ -259,7 +259,7 @@ figure.alignfull,
 /* Code */
 
 .wp-block-code {
-	padding: 0 5px 20px 5px;
+	padding: 20px;
 	background: #f1f2f3;
 	font-family: "Source Code Pro", monospace;
 	letter-spacing: -0.05em;
@@ -448,7 +448,7 @@ hr.wp-block-separator {
 .wp-block-latest-comments .wp-block-latest-comments__comment {
 	border-top: 1px solid #f1f2f3;
 	margin-bottom: 0;
-	padding: 40px 0;
+	padding: 20px 0;
 }
 
 .wp-block-latest-comments__comment-excerpt p:last-child {

+ 1 - 1
illustratr/editor-blocks.css

@@ -856,7 +856,7 @@
 .wp-block-latest-comments .wp-block-latest-comments__comment {
 	border-top: 1px solid #e6e6e6;
 	margin-bottom: 0;
-	padding: 40px 0;
+	padding: 20px 0;
 }
 
 .wp-block-latest-comments__comment-excerpt p:last-child {