瀏覽代碼

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

Laurel Fulford 6 年之前
父節點
當前提交
b0a8aabc78
共有 1 個文件被更改,包括 7 次插入3 次删除
  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 {