Skip to content

Commit e2c159a

Browse files
authored
It prevents breaking words inside header cell in an HTML tables. (#661)
* [rdar://107874086] fix: prevent from breaking words in japanese when wrapping * [rdar://107874086] fix: move to th * [rdar://107874086] fix: add hyphens: auto;
1 parent 72550b0 commit e2c159a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/ContentNode/Table.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ table {
4444
/deep/ {
4545
th {
4646
font-weight: $font-weight-semibold;
47+
word-break: keep-all;
48+
hyphens: auto;
4749
}
4850
4951
td,

0 commit comments

Comments
 (0)