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

This commit is contained in:
alancnet 2020-01-13 09:23:44 -08:00 committed by Nicolas Giard
parent 1b749e7bf2
commit e836a49776

View File

@ -179,8 +179,12 @@ $editor-height-mobile: calc(100vh - 56px - 16px);
&.ck .ck-editor__nested-editable:focus, &.ck .ck-editor__nested-editable:focus,
.ck-widget.table td.ck-editor__nested-editable.ck-editor__nested-editable_focused, .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 { .ck-widget.table th.ck-editor__nested-editable.ck-editor__nested-editable_focused {
background-color: mc('grey', '100');
@at-root .theme--dark & {
background-color: mc('grey', '900'); background-color: mc('grey', '900');
} }
} }
}
} }
</style> </style>