From ccc6c5d988f9d50038cd3d1064bae0026a72edd8 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 9 Sep 2017 08:20:08 +0530 Subject: [PATCH] User Manual: Make code blocks wrap Fixes #1716062 [[Doco] - Tweaks](https://bugs.launchpad.net/calibre/+bug/1716062) --- manual/resources/custom.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manual/resources/custom.css b/manual/resources/custom.css index e05f1bd633..1e44ea8e26 100644 --- a/manual/resources/custom.css +++ b/manual/resources/custom.css @@ -18,6 +18,10 @@ div.sphinxsidebar { overflow-y: auto; max-height: calc(100vh - 25px) } } +pre { + white-space: pre-wrap; +} + div.body p, div.body dd, div.body li, div.body blockquote { text-align: justify; }