mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
Desktop: Fixes #5710: Text was unreadable in dark mode when dropping a note on Rich Text editor
This commit is contained in:
parent
c48d92b18b
commit
c759982890
@ -1,3 +1,4 @@
|
||||
import { ThemeAppearance } from '@joplin/lib/themes/type';
|
||||
import { NoteBodyEditorProps } from '../../../utils/types';
|
||||
const { buildStyle } = require('@joplin/lib/theme');
|
||||
|
||||
@ -19,8 +20,8 @@ export default function styles(props: NoteBodyEditorProps) {
|
||||
disabledOverlay: {
|
||||
zIndex: 10,
|
||||
position: 'absolute',
|
||||
backgroundColor: 'white',
|
||||
opacity: 0.7,
|
||||
backgroundColor: theme.backgroundColor,
|
||||
opacity: theme.appearance === ThemeAppearance.Light ? 0.7 : 0.9,
|
||||
height: '100%',
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
|
Loading…
Reference in New Issue
Block a user