diff --git a/data/epub.css b/data/epub.css index e0fb3fd93cd6..a2c859ea9fea 100644 --- a/data/epub.css +++ b/data/epub.css @@ -23,3 +23,8 @@ span.underline{ text-decoration: underline; } q { quotes: "“" "”" "‘" "’"; } div.column{ display: inline-block; vertical-align: top; width: 50%; } div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} +/* Apple Books 2.4+ doesn't like overflow:auto on syntax highlighting generated by skylighting */ +@media screen { + div.sourceCode { overflow: visible !important; } + p, span, pre, code, blockquote { overflow: visible !important; } +}