]> granicus.if.org Git - docbook-dsssl/commitdiff
Allow wrapping in verbatim elements - eReaders have very narrow display in general...
authorJirka Kosek <jirka@kosek.cz>
Wed, 26 Oct 2011 14:02:39 +0000 (14:02 +0000)
committerJirka Kosek <jirka@kosek.cz>
Wed, 26 Oct 2011 14:02:39 +0000 (14:02 +0000)
xsl/epub3/docbook-epub.css.xml

index cab689626af687783ef2ea3fdd09d99a592ff60c..5128b1133e465aa5c3a99e101dfb2550a21d5cb4 100644 (file)
@@ -99,17 +99,17 @@ div.sidebar-title {
 /* start of styles in verbatim.xsl */
 
 div.programlisting {
-  white-space: pre;
+  white-space: pre-wrap;
   font-family: monospace;
 }
 
 div.screen {
-  white-space: pre;
+  white-space: pre-wrap;
   font-family: monospace;
 }
 
 div.synopsis {
-  white-space: pre;
+  white-space: pre-wrap;
   font-family: monospace;
 }