FIX if html with weird styling is inserted to send message textarea, it becomes unresponsive -> remove all styling of children of textarea.

This commit is contained in:
schlagmichdoch 2023-01-19 02:08:13 +01:00
parent 2394a4793a
commit 8ba9a185fa

View file

@ -859,12 +859,15 @@ x-dialog x-paper {
background-color: var(--bg-color); background-color: var(--bg-color);
} }
.textarea, .textarea {
.textarea * {
color: var(--text-color) !important; color: var(--text-color) !important;
background-color: var(--bg-color-secondary) !important; background-color: var(--bg-color-secondary) !important;
} }
.textarea * {
all: unset !important;
}
/* Image/Video/Audio Preview */ /* Image/Video/Audio Preview */
.file-preview { .file-preview {
margin: 10px -24px 40px -24px; margin: 10px -24px 40px -24px;