소스 검색

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

alancnet 5 년 전
부모
커밋
e836a49776
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  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');
+      }
     }
   }
 }