Kaynağa Gözat

Removes old Textarea approach code

montelale 4 yıl önce
ebeveyn
işleme
e9c8ed447f
2 değiştirilmiş dosya ile 0 ekleme ve 21 silme
  1. 0 1
      client/index.html
  2. 0 20
      client/styles.css

+ 0 - 1
client/index.html

@@ -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>

+ 0 - 20
client/styles.css

@@ -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);