Browse Source

Editor: Make sure table styles match the front end.

alaczek 7 years ago
parent
commit
6322102d1a
2 changed files with 6 additions and 2 deletions
  1. 5 0
      radcliffe-2/assets/css/blocks.css
  2. 1 2
      radcliffe-2/assets/css/editor-style.css

+ 5 - 0
radcliffe-2/assets/css/blocks.css

@@ -181,6 +181,11 @@ ul.wp-block-gallery li {
 	display: table;
 	display: table;
 }
 }
 
 
+.wp-block-table td, 
+.wp-block-table th {
+	border: none;
+}
+
 .wp-block-table.alignfull {
 .wp-block-table.alignfull {
 	width: 96vw;
 	width: 96vw;
 }
 }

+ 1 - 2
radcliffe-2/assets/css/editor-style.css

@@ -268,10 +268,9 @@ p.editor-rich-text__tinymce.mce-content-body {
 	margin-bottom: 0;
 	margin-bottom: 0;
 }
 }
 
 
-.edit-post-visual-editor table,
 .edit-post-visual-editor th,
 .edit-post-visual-editor th,
 .edit-post-visual-editor td {
 .edit-post-visual-editor td {
-	border: 1px solid rgba(0,0,0,.15);
+	border-right: 0;
 }
 }
 
 
 .edit-post-visual-editor table {
 .edit-post-visual-editor table {