Reader: add unprefixed hyphens

This commit is contained in:
John Factotum
2022-10-25 08:47:52 +00:00
committed by GitHub
parent 6977ac005d
commit f2f41e6013
+1
View File
@@ -83,6 +83,7 @@ const getCSS = ({ spacing, justify, hyphenate }) => `
line-height: ${spacing}; line-height: ${spacing};
text-align: ${justify ? 'justify' : 'start'}; text-align: ${justify ? 'justify' : 'start'};
-webkit-hyphens: ${hyphenate ? 'auto' : 'manual'}; -webkit-hyphens: ${hyphenate ? 'auto' : 'manual'};
hyphens: ${hyphenate ? 'auto' : 'manual'};
-webkit-hyphenate-limit-before: 3; -webkit-hyphenate-limit-before: 3;
-webkit-hyphenate-limit-after: 2; -webkit-hyphenate-limit-after: 2;
-webkit-hyphenate-limit-lines: 2; -webkit-hyphenate-limit-lines: 2;