Fixed code view inside Redactor
authorAlexander Ebert <ebert@woltlab.com>
Mon, 5 Sep 2016 09:57:34 +0000 (11:57 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 5 Sep 2016 13:15:19 +0000 (15:15 +0200)
wcfsetup/install/files/style/bbcode/code.scss

index 37658c4a6b61fb6874cede1b14de6e4ab4f4eb8b..c54d8b130140e04e0ab1fcc0e593f3c7717892f9 100644 (file)
@@ -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);