Browse Source

Fix editor style

ghorsington 4 years ago
parent
commit
9263abe873
1 changed files with 6 additions and 2 deletions
  1. 6 2
      web/src/routes/rules/easymde-style.css

+ 6 - 2
web/src/routes/rules/easymde-style.css

@@ -1,6 +1,6 @@
 :global .md-editor {
     .editor-toolbar.fullscreen {
-        @apply bg-gray-800;
+        @apply bg-gray-800 z-20;
     }
     
     .editor-toolbar button.active, .editor-toolbar button:hover {
@@ -8,7 +8,7 @@
     }
     
     .md-editor-preview {
-        @apply bg-gray-800;
+        @apply bg-gray-800 px-8;
     }
     
     .editor-statusbar {
@@ -22,4 +22,8 @@
     .editor-toolbar.fullscreen::before {
         @apply bg-none border-l-4 border-gray-900;
     }
+
+    .CodeMirror-fullscreen .CodeMirror-scroll {
+        max-height: initial !important;
+    }
 }