use hyphens when breaking words (works only in FF though)

This commit is contained in:
tophf 2017-12-05 05:02:28 +03:00
parent 40075a0d39
commit cb7f1de348

View File

@ -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 {