#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.
This commit is contained in:
Gustavo Hilario 2022-11-16 05:41:21 -05:00 committed by GitHub
parent 313fcc473d
commit 7d094e63f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
@ -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;