From 2ef6247c1faa704f6e31019f55fe5bb73a5fa110 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 5 Sep 2016 11:57:34 +0200 Subject: [PATCH] Fixed code view inside Redactor --- wcfsetup/install/files/style/bbcode/code.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/style/bbcode/code.scss b/wcfsetup/install/files/style/bbcode/code.scss index 37658c4a6b..c54d8b1301 100644 --- a/wcfsetup/install/files/style/bbcode/code.scss +++ b/wcfsetup/install/files/style/bbcode/code.scss @@ -7,7 +7,9 @@ margin: 1em 0; padding: 10px 20px; position: relative; - white-space: pre; + white-space: pre-wrap; + word-break: break-all; + word-wrap: break-word; &:not(.redactorCalcHeight)::before { content: attr(data-title); -- 2.20.1