From 1e02da9b54b34886bde7e8150fcdb6f1e5c863e7 Mon Sep 17 00:00:00 2001 From: Jirka Kosek Date: Wed, 26 Oct 2011 14:02:39 +0000 Subject: [PATCH] Allow wrapping in verbatim elements - eReaders have very narrow display in general and can't scroll. --- xsl/epub3/docbook-epub.css.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xsl/epub3/docbook-epub.css.xml b/xsl/epub3/docbook-epub.css.xml index cab689626..5128b1133 100644 --- a/xsl/epub3/docbook-epub.css.xml +++ b/xsl/epub3/docbook-epub.css.xml @@ -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; } -- 2.40.0