snapdrop

A Progressive Web App for local file sharing
git clone http://git.hanabi.in/repos/snapdrop.git
Log | Files | Refs | README | LICENSE

commit e9c8ed447f1eacfb5824d9584502c1c4e8e549a5
parent c14c121ba5e2097f3479ebb0bc1998f92103b92f
Author: montelale <alessioalessio2002@gmail.com>
Date:   Tue, 22 Dec 2020 21:24:20 +0100

Removes old Textarea approach code

Diffstat:
Mclient/index.html | 1-
Mclient/styles.css | 20--------------------
2 files changed, 0 insertions(+), 21 deletions(-)

diff --git a/client/index.html b/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> diff --git a/client/styles.css b/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);