use hyphens when breaking words (works only in FF though)
This commit is contained in:
parent
40075a0d39
commit
cb7f1de348
|
@ -107,7 +107,7 @@ function preinit() {
|
|||
if (widthFor1stChild > 50) {
|
||||
for (const el of $$('#options .aligned > :nth-child(1)')) {
|
||||
if (el.offsetWidth > widthFor1stChild) {
|
||||
el.style.wordBreak = 'break-all';
|
||||
el.style.cssText = 'word-break: break-all; hyphens: auto;';
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user