Skip to content

Bugs in the new site interface

User Avatar
#140
Auto-translated
Mооnst@r
HwKeeper
Mооnst@r
HwKeeper
Mооnst@r

In the knowledge base.

Added support for hyphenation

image.webp

It doesn't always hyphenate by syllables for me, and hyphens are sometimes missing.

Actually, it depends on the browser and its dictionaries. All we can do is set hyphens: auto, which has been done. Beyond that, it will work differently in different browsers, and they don't guarantee the quality of hyphenation for different languages.

https://developer.mozilla.org/ru/docs/Web/CSS/Reference/Properties/hyphens

In German, it hyphenates after 1-4 letters (two long words), maybe in some other languages too, but in Russian it's fine now.

Of course, it's better to do it properly rather than cater to one person.

I also added this setting https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/hyphenate-limit-chars

But again, it says there's limited browser support, and each browser will interpret it in its own way, but in cases where it is supported, it should improve the situation.