From 967d4da30a4d3d39a2bedddf2ac476a96707bc45 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Thu, 14 Jun 2018 22:46:20 -0700 Subject: wiki: word-wrap code on any character --- view/css/mod_wiki.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/view/css/mod_wiki.css b/view/css/mod_wiki.css index 998b932db..7e47dca21 100644 --- a/view/css/mod_wiki.css +++ b/view/css/mod_wiki.css @@ -55,6 +55,7 @@ pre code { padding: 1em 1.5em; display: block; white-space: pre-wrap; + word-break: break-all; } code { @@ -64,6 +65,7 @@ code { display: inline; padding: 0.2em 0.2em; white-space: pre-wrap; + word-break: break-all; } #wiki-content-container code { -- cgit v1.2.3