Explorar el Código

Fix editor style

ghorsington hace 3 años
padre
commit
9263abe873
Se han modificado 1 ficheros con 6 adiciones y 2 borrados
  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;
+    }
 }