Removes old Textarea approach code

This commit is contained in:
montelale 2020-12-22 21:24:20 +01:00
parent c14c121ba5
commit e9c8ed447f
2 changed files with 0 additions and 21 deletions

View File

@ -94,7 +94,6 @@
<x-background class="full center">
<x-paper shadow="2">
<h3>Send a Message</h3>
<!-- <textarea id="textInput" placeholder="Send a message" autocomplete="off" autofocus></textarea> -->
<div id="textInput" class="textareaElement" role="textbox" placeholder="Send a message" autocomplete="off" autofocus contenteditable></div>
<div class="row-reverse">
<button class="button" type="submit" close>Send</button>

View File

@ -481,21 +481,6 @@ button::-moz-focus-inner {
/* Text Input */
textarea {
width: 100%;
box-sizing: border-box;
border: none;
outline: none;
padding: 16px 24px;
border-radius: 16px;
margin: 8px 0;
line-height: 16px;
font-size: 14px;
font-family: inherit;
resize: none;
background: #f1f3f4;
}
.textareaElement {
box-sizing: border-box;
border: none;
@ -717,11 +702,6 @@ x-dialog x-paper {
background-color: var(--bg-color);
}
textarea {
color: var(--text-color);
background-color: var(--input-bg-color);
}
.textareaElement {
color: var(--text-color);
background-color: var(--input-bg-color);