kepubify
kepubify copied to clipboard
headings get hyphenated with current hyphenation.css
With the current hyphenation.css
-
{ -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto;
-webkit-hyphenate-limit-after: 3; -webkit-hyphenate-limit-before: 3; -webkit-hyphenate-limit-lines: 2; }
h1, h2, h3, h4, h5, h6, td { -moz-hyphens: none !important; -webkit-hyphens: none !important; hyphens: none !important; }
the -webkit-hyphens: none for headings does not work.
If *{ is replaced by body{
the exception for headings does work
I'll probably fix this in a slightly different way (by also matching * under headings) so the precedence still works properly on other elements.