mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-30 11:39:14 -04: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:
parent
2394a4793a
commit
8ba9a185fa
1 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue