From: Alexander Ebert Date: Mon, 5 Sep 2016 09:57:34 +0000 (+0200) Subject: Fixed code view inside Redactor X-Git-Tag: 3.0.0_Beta_1~306 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2ef6247c1faa704f6e31019f55fe5bb73a5fa110;p=GitHub%2FWoltLab%2FWCF.git Fixed code view inside Redactor --- 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);