Skip to content

Commit 9ebea66

Browse files
authored
Fixed ugly default borders on WordPress table blocks (#2222)
1 parent ea6fbfe commit 9ebea66

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changeset/green-windows-march.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@cloudfour/patterns': patch
3+
---
4+
5+
Fixed ugly default borders on WordPress table blocks

src/vendor/wordpress/styles/_core-blocks.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,9 @@ figure.wp-block-image {
329329
table td,
330330
table th {
331331
@include table.t-container;
332+
333+
// At some point, WordPress started setting a default border on table cells
334+
border-width: 0;
332335
}
333336

334337
table th {

0 commit comments

Comments
 (0)