mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-18 15:22:16 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user