Skip to content

Commit

Permalink
Update style.scss
Browse files Browse the repository at this point in the history
Fixing WordPress#24393

Can we just keep normal word-break with table headers?  I can think of cases where folks might paste a long URL in a table cell, and would need to wrap that. But I would think most people would just name the table header differently if it were too long to fit.  As it stands, this arbitrary break points truly are arbitrary, and it's turning out some strange results.
supernovia authored Aug 6, 2020
1 parent 7c3d2ea commit 8cac9bc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/block-library/src/table/style.scss
Original file line number Diff line number Diff line change
@@ -15,8 +15,7 @@
table-layout: fixed;
width: 100%;

td,
th {
td {
word-break: break-word;
}
}
@@ -32,8 +31,7 @@
// width as auto.
width: auto;

td,
th {
td {
word-break: break-word;
}
}

0 comments on commit 8cac9bc

Please sign in to comment.