summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2017-04-15 02:49:48 -0600
committerDan Allen <dan.j.allen@gmail.com>2017-04-15 02:49:48 -0600
commit559b0259488495129b23ab96af5b7cf2928a7433 (patch)
tree6ab2701a4a688c15fde9142225f07cea9ab7b944 /data
parent2fd3ccefd88c341a95917d0acb6b7cf99458cb79 (diff)
force preformatted text to wrap in Gitden
Diffstat (limited to 'data')
-rw-r--r--data/styles/epub3-css3-only.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/styles/epub3-css3-only.css b/data/styles/epub3-css3-only.css
index 0c75f81..66ecc11 100644
--- a/data/styles/epub3-css3-only.css
+++ b/data/styles/epub3-css3-only.css
@@ -44,6 +44,10 @@ only screen and (max-device-width: 1280px) and (max-device-height: 768px) {
}*/
}
+body.gitden-reader pre {
+ white-space: pre-wrap !important; /* Gitden must be applying white-space: pre !important */
+}
+
body h1, body h2, body h3:not(.list-heading), body h4, body h5, body h6,
h1 :not(code), h2 :not(code), h3:not(.list-heading) :not(code), h4 :not(code), h5 :not(code), h6 :not(code) {
/* !important required to override custom font setting in Kindle / Gitden / Namo */