Sfoglia il codice sorgente

CSS fix: textarea pushed off if the heading had description text

JC Brand 5 anni fa
parent
commit
9b9f9a946d
2 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  1. 2 1
      sass/_chatbox.scss
  2. 0 2
      sass/_variables.scss

+ 2 - 1
sass/_chatbox.scss

@@ -612,7 +612,8 @@
             overflow: hidden;
         }
         .chat-body {
-            height: calc(100% - var(--fullpage-chat-head-height));
+            height: inherit;
+            overflow: hidden;
             background-color: var(--chat-head-color);
         }
         .chat-title {

+ 0 - 2
sass/_variables.scss

@@ -162,7 +162,6 @@ $mobile_portrait_length: 480px !default;
     --avatar-border: 1px solid lightgrey;
     --avatar-background-color: white;
 
-    --fullpage-chat-head-height: 62px;
     --fullpage-chat-height: calc(var(--vh, 1vh) * 100);
     --fullpage-chat-width: 100%;
     --fullpage-emoji-picker-height: 300px;
@@ -236,7 +235,6 @@ $mobile_portrait_length: 480px !default;
     --message-input-border-top: 1px solid #CCC;
     --message-input-color: #CCC;
 
-    --fullpage-chat-head-height: 62px;
     --fullpage-chatbox-button-size: 24px;
 
     --list-toggle-font-weight: bold;