Cleanup stylename

This commit is contained in:
RobinLinus 2020-12-28 02:39:44 +01:00
parent 516b4a0705
commit 5462b0c17f
2 changed files with 3 additions and 3 deletions

View file

@ -94,7 +94,7 @@
<x-background class="full center"> <x-background class="full center">
<x-paper shadow="2"> <x-paper shadow="2">
<h3>Send a Message</h3> <h3>Send a Message</h3>
<div id="textInput" class="textareaElement" role="textbox" placeholder="Send a message" autocomplete="off" autofocus contenteditable></div> <div id="textInput" class="textarea" role="textbox" placeholder="Send a message" autocomplete="off" 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>
<a class="button" close>Cancel</a> <a class="button" close>Cancel</a>

View file

@ -479,7 +479,7 @@ button::-moz-focus-inner {
/* Text Input */ /* Text Input */
.textareaElement { .textarea {
box-sizing: border-box; box-sizing: border-box;
border: none; border: none;
outline: none; outline: none;
@ -712,7 +712,7 @@ x-dialog x-paper {
background-color: var(--bg-color); background-color: var(--bg-color);
} }
.textareaElement { .textarea {
color: var(--text-color); color: var(--text-color);
background-color: var(--bg-color-secondary); background-color: var(--bg-color-secondary);
} }