Removes old Textarea approach code
This commit is contained in:
parent
c14c121ba5
commit
e9c8ed447f
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue