Răsfoiți Sursa

Specifically set `.chat-body` height

Otherwise the private chatbox header doesn't show in Firefox
JC Brand 6 ani în urmă
părinte
comite
79c9d35911
2 a modificat fișierele cu 9 adăugiri și 2 ștergeri
  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 {
   #conversejs.converse-overlayed .chatbox .box-flyout {
     min-width: 250px !important;
     min-width: 250px !important;
     width: 250px; }
     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 {
 #conversejs.converse-overlayed .flyout {
   bottom: 1em; }
   bottom: 1em; }

+ 6 - 2
sass/_chatbox.scss

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