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
1 changed files with 5 additions and 2 deletions

View File

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