Explorar el Código

Better solution for roster contacts scrolling.

JC Brand hace 9 años
padre
commit
b7ea4c29cd
Se han modificado 2 ficheros con 5 adiciones y 7 borrados
  1. 3 4
      css/converse.css
  2. 2 3
      sass/_core.scss

+ 3 - 4
css/converse.css

@@ -686,7 +686,7 @@
     height: 194px;
     height: calc(100% - 50px - 20px);
     overflow: hidden;
-    padding-bottom: 1em;
+    padding-bottom: 3em;
     /* (jQ addClass:) if input has value: */
     /* (jQ addClass:) if mouse is over the 'x' input area*/ }
     #conversejs #converse-roster.no-contact-requests {
@@ -717,10 +717,9 @@
       cursor: pointer; }
     #conversejs #converse-roster .roster-contacts {
       margin: 0;
-      max-height: 100%;
+      height: 100%;
       overflow-x: hidden;
-      overflow-y: auto;
-      padding-bottom: 41px; }
+      overflow-y: auto; }
     #conversejs #converse-roster .group-toggle {
       color: #6C4C44;
       display: block;

+ 2 - 3
sass/_core.scss

@@ -731,7 +731,7 @@
     height: $roster-height;
     height: calc(100% - #{$controlbox-dropdown-height*2} - 20px);
     overflow: hidden;
-    padding-bottom: 1em;
+    padding-bottom: 3em;
 
     &.no-contact-requests {
         height: calc(100% - #{$controlbox-dropdown-height} - 20px);
@@ -769,10 +769,9 @@
     }
     .roster-contacts {
       margin: 0;
-      max-height: 100%;
+      height: 100%;
       overflow-x: hidden;
       overflow-y: auto;
-      padding-bottom: 41px;
     }
     .group-toggle {
       color: $text-color;