Desktop: Fixes #5666: Message in search box dialog was not readable in dark mode

pull/5748/head
Laurent Cozic 2021-11-17 19:32:27 +00:00
parent fc419d98c4
commit e53da58602
1 changed files with 4 additions and 0 deletions

View File

@ -384,6 +384,10 @@ const TinyMCE = (props: NoteBodyEditorProps, ref: any) => {
background-color: ${theme.backgroundColor} !important;
}
.tox .tox-dialog__body-content {
color: ${theme.color};
}
/*
When creating dialogs, TinyMCE doesn't seem to offer a way to style the components or to assign classes to them.
We want the code dialog box text area to be monospace, and since we can't target this precisely, we apply the style