kepubify icon indicating copy to clipboard operation
kepubify copied to clipboard

headings get hyphenated with current hyphenation.css

Open alex12500 opened this issue 1 year ago • 1 comments

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

alex12500 avatar Feb 07 '24 20:02 alex12500

I'll probably fix this in a slightly different way (by also matching * under headings) so the precedence still works properly on other elements.

pgaskin avatar May 04 '25 20:05 pgaskin