Skip to content

Commit

Permalink
#6648: Independent Publisher 2: Table Block Border Surrounds Caption
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Gustavo-Hilario committed Oct 11, 2022
1 parent ea368d3 commit b0edb3a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions independent-publisher-2/css/editor-blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ p.has-drop-cap:not(:focus)::first-letter {

/* Table */

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

0 comments on commit b0edb3a

Please sign in to comment.