Browse Source

Textbook: Update table spacing, button borders, in editor to match front-end.

Laurel Fulford 6 years ago
parent
commit
b0a8aabc78
1 changed files with 7 additions and 3 deletions
  1. 7 3
      textbook/assets/css/editor-blocks.css

+ 7 - 3
textbook/assets/css/editor-blocks.css

@@ -457,9 +457,9 @@ p.has-drop-cap:not(:focus)::first-letter {
 	border-collapse: collapse;
 }
 
-.wp-block-table th {
-	padding-bottom: 0;
-	padding-top: 0;
+.editor-styles-wrapper .wp-block-table th {
+	padding-bottom: 0.25em;
+	padding-top: 0.25em;
 }
 
 .wp-block-table th,
@@ -539,6 +539,10 @@ p.has-drop-cap:not(:focus)::first-letter {
 	color: #fff;
 }
 
+.wp-block-button .wp-block-button__link.has-text-color {
+	border-color: currentColor;
+}
+
 /* Separator */
 
 .wp-block-separator {