]> BookStack Code Mirror - bookstack/commitdiff
Adapted code insert area and language select for mobile
authorDan Brown <redacted>
Sun, 28 Jan 2018 14:19:54 +0000 (14:19 +0000)
committerDan Brown <redacted>
Sun, 28 Jan 2018 14:19:54 +0000 (14:19 +0000)
resources/assets/sass/_components.scss

index 1608368f5a173232afab85ae444b90fba43dba7e..5b72f5e1a785601442abc8c58bd8068abe5aa0c7 100644 (file)
@@ -546,6 +546,15 @@ body.flexbox-support #entity-selector-wrap .popup-body .form-group {
   }
 }
 
+@include smaller-than($m) {
+  #code-editor .lang-options {
+    max-width: 100%;
+  }
+  #code-editor .CodeMirror {
+    height: 200px;
+  }
+}
+
 .comment-box {
   border: 1px solid #DDD;
   margin-bottom: $-s;
Morty Proxy This is a proxified and sanitized view of the page, visit original site.