mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-10-22 06:49:51 -04:00
Reader: add unprefixed hyphens
This commit is contained in:
1 parent
6977ac005d
commit
f2f41e6013
1 file changed
+1
@@ -83,6 +83,7 @@ const getCSS = ({ spacing, justify, hyphenate }) => `
|
||||
line-height: ${spacing};
|
||||
text-align: ${justify ? 'justify' : 'start'};
|
||||
-webkit-hyphens: ${hyphenate ? 'auto' : 'manual'};
|
||||
hyphens: ${hyphenate ? 'auto' : 'manual'};
|
||||
-webkit-hyphenate-limit-before: 3;
|
||||
-webkit-hyphenate-limit-after: 2;
|
||||
-webkit-hyphenate-limit-lines: 2;
|
||||
|
||||
Reference in new issue
Block a user