Skip to content

Commit

Permalink
Move border-collapse to shared styles. (#27628)
Browse files Browse the repository at this point in the history
  • Loading branch information
jffng authored Feb 23, 2021
1 parent 9534ac6 commit f480b49
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions packages/block-library/src/table/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@
}
}

table {
border-collapse: collapse;
}

td,
th {
border: $border-width solid;
Expand Down
1 change: 1 addition & 0 deletions packages/block-library/src/table/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
overflow-x: auto;

table {
border-collapse: collapse;
width: 100%;
}

Expand Down
2 changes: 0 additions & 2 deletions packages/block-library/src/table/theme.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
.wp-block-table {
border-collapse: collapse;

thead {
border-bottom: 3px solid;
}
Expand Down

0 comments on commit f480b49

Please sign in to comment.