From cfc7fa2d9c7fde01fc5bd96c08b91b5788dec644 Mon Sep 17 00:00:00 2001 From: Frank Hochmuth Date: Sat, 18 Nov 2023 14:29:04 +0100 Subject: [PATCH] Update print.css - Text within the pre element is now printed completely by line break --- .../themes/leggero/leggero-v2/res/print.css | 39 ++++++++++--------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/fp-interface/themes/leggero/leggero-v2/res/print.css b/fp-interface/themes/leggero/leggero-v2/res/print.css index 7dacec7..ea677d3 100644 --- a/fp-interface/themes/leggero/leggero-v2/res/print.css +++ b/fp-interface/themes/leggero/leggero-v2/res/print.css @@ -10,14 +10,14 @@ Module: print.css */ body { - color: #333; - background-color: transparent + color: #333; + background-color: transparent } a { - color: #333; - background-color: transparent; - text-decoration: none + color: #333; + background-color: transparent; + text-decoration: none } h1 { font-size: 130% } @@ -39,9 +39,9 @@ h4 { font-size: 100% } .navigation { display: none } .entry-footer { - clear: both; - font-size: 80%; - margin: 2em 0 3em 0 + clear: both; + font-size: 80%; + margin: 2em 0 3em 0 } blockquote { @@ -55,17 +55,18 @@ blockquote { } pre { - clear: both; - margin: 0.5em 0 0.5em 0; - padding: 0.5em; - width: 90%; - color: #333; - background-color: #eee; - font-size: 70%; - border: 1px dotted #333; - white-space: pre-line; - overflow: auto; - text-overflow: ellipsis + clear: both; + margin: 0.5em 0 0.5em 0; + padding: 0.5em; + width: 90%; + color: #333; + background-color: #eee; + font-size: 70%; + border: 1px dotted #333; + overflow: auto; + text-overflow: ellipsis; + white-space: pre-wrap; + word-break: break-all } .link-comments { display: none }