feat: force white

This commit is contained in:
Nevo David 2024-03-19 19:27:16 +07:00
parent 2733d1135f
commit d4691a66d7
3 changed files with 6 additions and 2 deletions

View File

@ -279,4 +279,8 @@ html {
}
.auto-width {
width: auto !important;
}
.editor * {
color: white;
}

View File

@ -308,7 +308,7 @@ export const AddEditModal: FC<{
<Fragment key={`edit_${index}`}>
<div>
<div className="flex gap-[4px]">
<div className="flex-1">
<div className="flex-1 editor text-white">
<MDEditor
height={value.length > 1 ? 150 : 250}
commands={[

View File

@ -275,7 +275,7 @@ export const withProvider = (
<Fragment key={`edit_inner_${index}`}>
<div>
<div className="flex gap-[4px]">
<div className="flex-1">
<div className="flex-1 text-white editor">
<MDEditor
height={InPlaceValue.length > 1 ? 200 : 250}
value={val.content}