From 8ba9a185fa5cef278114c9a53c7c6d917ce153ae Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Thu, 19 Jan 2023 02:08:13 +0100 Subject: [PATCH] FIX if html with weird styling is inserted to send message textarea, it becomes unresponsive -> remove all styling of children of textarea. --- public/styles.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/public/styles.css b/public/styles.css index 6a7d28b..d06a626 100644 --- a/public/styles.css +++ b/public/styles.css @@ -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;