RobinLinus 4 лет назад
Родитель
Сommit
5462b0c17f
2 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      client/index.html
  2. 2 2
      client/styles.css

+ 1 - 1
client/index.html

@@ -94,7 +94,7 @@
             <x-background class="full center">
                 <x-paper shadow="2">
                     <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">
                         <button class="button" type="submit" close>Send</button>
                         <a class="button" close>Cancel</a>

+ 2 - 2
client/styles.css

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