Skip to content

Commit ae2f51a

Browse files
committed
Remove auto-handling of hyphens in textAlign
That should be up to implementers, and not an opinionated choice.
1 parent 8eaf6e6 commit ae2f51a

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

css/src/modules/user-settings-submodules/ReadiumCSS-bodyHyphens_pref.css

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,6 @@
66
77
Repo: https://github.com/readium/readium-css */
88

9-
/* Managing hyphenation automatically for text-align values */
10-
11-
:root[style*="--USER__textAlign: justify"] body,
12-
:root[style*="--USER__textAlign:justify"] body {
13-
-webkit-hyphens: auto;
14-
-moz-hyphens: auto;
15-
-ms-hyphens: auto;
16-
-epub-hyphens: auto;
17-
hyphens: auto;
18-
}
19-
20-
:root[style*="--USER__textAlign: left"] body,
21-
:root[style*="--USER__textAlign:left"] body,
22-
:root[style*="--USER__textAlign: right"] body,
23-
:root[style*="--USER__textAlign:right"] body {
24-
-webkit-hyphens: none;
25-
-moz-hyphens: none;
26-
-ms-hyphens: none;
27-
-epub-hyphens: none;
28-
hyphens: none;
29-
}
30-
319
/* Managing the user override */
3210

3311
:root[style*="--USER__bodyHyphens"] {

0 commit comments

Comments
 (0)