Bläddra i källkod

Chat box textarea height fix.

JC Brand 10 år sedan
förälder
incheckning
dac013b2d4
3 ändrade filer med 4 tillägg och 4 borttagningar
  1. 2 2
      css/converse.css
  2. 1 1
      sass/converse.scss
  3. 1 1
      sass/variables.scss

+ 2 - 2
css/converse.css

@@ -1073,12 +1073,12 @@
     padding: 0;
     padding: 0;
     position: relative;
     position: relative;
     width: 200px;
     width: 200px;
-    height: 84px; }
+    height: 82px; }
     #conversejs form.sendXMPPMessage .chat-textarea {
     #conversejs form.sendXMPPMessage .chat-textarea {
       border-bottom-left-radius: 4px;
       border-bottom-left-radius: 4px;
       border-bottom-right-radius: 4px;
       border-bottom-right-radius: 4px;
       border: 0;
       border: 0;
-      height: 64px;
+      height: 62px;
       padding: 0.5em;
       padding: 0.5em;
       width: 100%;
       width: 100%;
       resize: none; }
       resize: none; }

+ 1 - 1
sass/converse.scss

@@ -419,7 +419,7 @@
     background-color: #ffffff;
     background-color: #ffffff;
     line-height: 1.3em;
     line-height: 1.3em;
     height: 206px;
     height: 206px;
-    height: calc(100% - #{$toolbar-height + $chat-textarea-height});
+    height: calc(100% - #{$toolbar-height + $chat-textarea-height + 2});
   }
   }
 
 
   .chat-info {
   .chat-info {

+ 1 - 1
sass/variables.scss

@@ -16,7 +16,7 @@
   $chat-head-inverse-text-color: white;
   $chat-head-inverse-text-color: white;
   $chat-head-height: 44px;
   $chat-head-height: 44px;
   $save-button-color: #436F64;
   $save-button-color: #436F64;
-  $chat-textarea-height: 64px;
+  $chat-textarea-height: 62px;
   $toolbar-height: 20px;
   $toolbar-height: 20px;
   $message-them-color: #4B7003;
   $message-them-color: #4B7003;
   $roster-height: 194px;
   $roster-height: 194px;