Commit 79838151 authored by Sigrid Suski's avatar Sigrid Suski

(#) CodeMirror editor now with word-wrap; content-area styles corrected on front-end

parent 8c9c3bce
......@@ -820,27 +820,15 @@
// CodeMirror
//restore Codemirror styles, overwritten by Bootstrap loaded by SobiPro
.CodeMirror-code pre {
border-right: 30px solid transparent;
width: -moz-fit-content;
width: fit-content;
}
.CodeMirror-wrap pre {
word-wrap: break-word;
white-space: pre-wrap;
word-break: normal;
}
.CodeMirror pre {
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
border-width: 0;
background: transparent;
background: 0 0;
font-family: inherit;
font-size: inherit;
margin: 0 !important;
margin: 0;
white-space: pre;
word-wrap: normal;
line-height: inherit;
......@@ -848,8 +836,19 @@
z-index: 2;
position: relative;
overflow: visible;
-webkit-tap-highlight-color: transparent;
-webkit-font-variant-ligatures: contextual;
font-variant-ligatures: contextual;
}
.CodeMirror-wrap pre {
word-wrap: break-word;
white-space: pre-wrap;
word-break: normal;
}
.CodeMirror pre {
padding: 0 4px;
}
// Styles below needs to be checked
//#toolbar-box {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment