fix ckeditor table background color in dark mode

This commit is contained in:
Jin 2024-09-13 20:40:57 +02:00
parent 6970bf4fc1
commit 566d146b05
2 changed files with 7 additions and 2 deletions

View File

@ -107,7 +107,7 @@ input::placeholder,
/* Fix center vertical alignment of table cells */
vertical-align: middle;
color: var(--main-text-color);
background: transparent;
background: var(--input-background-color);
}
.ck .todo-list__checkmark {
@ -718,7 +718,8 @@ div[data-notify="container"] {
background-color: var(--accented-background-color);
}
.ck-content .image > figcaption {
.ck-content .image > figcaption,
.ck-content .table > figcaption {
color: var(--main-text-color) !important;
background-color: var(--accented-background-color) !important;
}

View File

@ -92,3 +92,7 @@ body .todo-list input[type="checkbox"]:not(:checked):before {
.btn-close {
filter: invert(1);
}
.ck-widget.table td.ck-editor__nested-editable:focus {
background: var(--input-background-color);
}