fix text and background colors shown if inserted to send message textbox

This commit is contained in:
schlagmichdoch 2023-01-18 15:47:06 +01:00
parent 7936f123c2
commit 2394a4793a
2 changed files with 5 additions and 4 deletions

View file

@ -168,7 +168,7 @@
<x-background class="full center"> <x-background class="full center">
<x-paper shadow="2"> <x-paper shadow="2">
<h2 class="center text-center">Send a Message</h2> <h2 class="center text-center">Send a Message</h2>
<div id="textInput" class="textarea" role="textbox" placeholder="Send a message" autocomplete="off" autofocus contenteditable></div> <div id="textInput" class="textarea" role="textbox" placeholder="Send a message" autocapitalize="none" spellcheck="false" autofocus contenteditable></div>
<div class="row-reverse"> <div class="row-reverse">
<button class="button" type="submit" close>Send</button> <button class="button" type="submit" close>Send</button>
<div class="separator"></div> <div class="separator"></div>

View file

@ -859,9 +859,10 @@ x-dialog x-paper {
background-color: var(--bg-color); background-color: var(--bg-color);
} }
.textarea { .textarea,
color: var(--text-color); .textarea * {
background-color: var(--bg-color-secondary); color: var(--text-color) !important;
background-color: var(--bg-color-secondary) !important;
} }
/* Image/Video/Audio Preview */ /* Image/Video/Audio Preview */