Pārlūkot izejas kodu

Specifically set `.chat-body` height

Otherwise the private chatbox header doesn't show in Firefox
JC Brand 6 gadi atpakaļ
vecāks
revīzija
79c9d35911
2 mainītis faili ar 9 papildinājumiem un 2 dzēšanām
  1. 3 0
      css/converse.css
  2. 6 2
      sass/_chatbox.scss

+ 3 - 0
css/converse.css

@@ -9554,6 +9554,9 @@ body.reset {
   #conversejs.converse-overlayed .chatbox .box-flyout {
     min-width: 250px !important;
     width: 250px; }
+    #conversejs.converse-embedded .chatbox .box-flyout .chat-body,
+    #conversejs.converse-overlayed .chatbox .box-flyout .chat-body {
+      height: calc(100% - 55px); }
 
 #conversejs.converse-overlayed .flyout {
   bottom: 1em; }

+ 6 - 2
sass/_chatbox.scss

@@ -495,12 +495,16 @@
     }
     
     .chatbox {
-        min-width: $overlayed-chat-width!important;
+        min-width: $overlayed-chat-width !important;
         width: $overlayed-chat-width;
 
         .box-flyout {
-            min-width: $overlayed-chat-width!important;
+            min-width: $overlayed-chat-width !important;
             width: $overlayed-chat-width;
+
+            .chat-body {
+                height: calc(100% - #{$overlayed-chat-head-height});
+            }
         }
     }
 }