From e836a49776c66a53f77540b633efeb6dafa79dd1 Mon Sep 17 00:00:00 2001 From: alancnet Date: Mon, 13 Jan 2020 09:23:44 -0800 Subject: [PATCH] fix: light background in nested ckeditor unless dark mode (#1372) --- client/components/editor/editor-ckeditor.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/components/editor/editor-ckeditor.vue b/client/components/editor/editor-ckeditor.vue index 6c5598a4..abe34d7e 100644 --- a/client/components/editor/editor-ckeditor.vue +++ b/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'); + } } } }