aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/epub.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/epub.css b/data/epub.css
index e0fb3fd93..a7ec1c376 100644
--- a/data/epub.css
+++ b/data/epub.css
@@ -23,3 +23,9 @@ 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;}
+@media screen { /* Workaround for iBooks issue; see #6242 */
+ .sourceCode {
+ overflow: visible !important;
+ white-space: pre-wrap !important;
+ }
+}