pl-fe: important hotfix
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -200,12 +200,7 @@ const ComposeEditor = React.forwardRef<LexicalEditor, IComposeEditor>(({
|
||||
</div>
|
||||
}
|
||||
placeholder={(
|
||||
<div
|
||||
className={clsx(
|
||||
'pointer-events-none absolute top-0 select-none text-[1rem] text-gray-600 dark:placeholder:text-gray-600',
|
||||
placeholderClassName,
|
||||
)}
|
||||
>
|
||||
<div className={placeholderClassName}>
|
||||
{textareaPlaceholder}
|
||||
</div>
|
||||
)}
|
||||
|
||||
@ -30,6 +30,11 @@
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
&__editor__placeholder {
|
||||
@apply pointer-events-none absolute top-0 select-none text-[1rem] text-gray-600 dark:placeholder:text-gray-600;
|
||||
visibility: visible !important;
|
||||
}
|
||||
|
||||
&:not(&--transparent) &__editor {
|
||||
@apply rounded-md border-gray-400 px-3 py-2 ring-2 focus-within:border-primary-500 focus-within:ring-primary-500 dark:border-gray-800 dark:ring-gray-800 dark:focus-within:border-primary-500 dark:focus-within:ring-primary-500;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user