Browse Source

#6648: Independent Publisher 2: Table Block Border Surrounds Caption (#6669)

Updating the Table block code to make sure that in the editor, the border will only be applied to the table, but not captions below the table.
Gustavo Hilario 2 years ago
parent
commit
7d094e63f7
1 changed files with 1 additions and 2 deletions
  1. 1 2
      independent-publisher-2/css/editor-blocks.css

+ 1 - 2
independent-publisher-2/css/editor-blocks.css

@@ -494,7 +494,7 @@ p.has-drop-cap:not(:focus)::first-letter {
 
 
 /* Table */
 /* Table */
 
 
-.wp-block-table,
+.wp-block-table table,
 .wp-block-table th,
 .wp-block-table th,
 .wp-block-table td {
 .wp-block-table td {
 	border: 1px solid #ddd;
 	border: 1px solid #ddd;
@@ -503,7 +503,6 @@ p.has-drop-cap:not(:focus)::first-letter {
 .wp-block-table  {
 .wp-block-table  {
 	border-collapse: separate;
 	border-collapse: separate;
 	border-spacing: 0;
 	border-spacing: 0;
-	border-width: 1px 0 0 1px;
 	font-size: 90%;
 	font-size: 90%;
 	margin: 0 0 1.75em;
 	margin: 0 0 1.75em;
 	table-layout: fixed;
 	table-layout: fixed;