Bläddra i källkod

fix: light background in nested ckeditor unless dark mode (#1372)

alancnet 5 år sedan
förälder
incheckning
e836a49776
1 ändrade filer med 5 tillägg och 1 borttagningar
  1. 5 1
      client/components/editor/editor-ckeditor.vue

+ 5 - 1
client/components/editor/editor-ckeditor.vue

@@ -179,7 +179,11 @@ $editor-height-mobile: calc(100vh - 56px - 16px);
     &.ck .ck-editor__nested-editable:focus,
     .ck-widget.table td.ck-editor__nested-editable.ck-editor__nested-editable_focused,
     .ck-widget.table th.ck-editor__nested-editable.ck-editor__nested-editable_focused {
-      background-color: mc('grey', '900');
+      background-color: mc('grey', '100');
+
+      @at-root .theme--dark & {
+        background-color: mc('grey', '900');
+      }
     }
   }
 }