From 26f90f9e7ae4c0a367d5d12cf0c61d6b2016eabb Mon Sep 17 00:00:00 2001 From: str4d <str4d@mail.i2p> Date: Sat, 5 Mar 2016 15:56:42 +0000 Subject: [PATCH] Wrap long lines in {% highlight %} blocks --- i2p2www/static/styles/duck/default.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/i2p2www/static/styles/duck/default.css b/i2p2www/static/styles/duck/default.css index 99da77fb1..60129146f 100644 --- a/i2p2www/static/styles/duck/default.css +++ b/i2p2www/static/styles/duck/default.css @@ -395,8 +395,12 @@ div#content .inner ul.DREAD { * Additions to syntax.css */ -.highlight { - overflow: auto +.highlight > pre { + white-space: pre-wrap; /* CSS-3 */ + white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + word-wrap: break-word; /* Internet Explorer 5.5+ */ } /* -- GitLab