Selaa lähdekoodia

Don't show scrollbar if not necessary

JC Brand 8 vuotta sitten
vanhempi
commit
ad1d5c6c8e
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      css/converse.css
  2. 1 1
      sass/_chatrooms.scss

+ 1 - 1
css/converse.css

@@ -2341,7 +2341,7 @@
           list-style: none; }
           #converse-embedded-chat .chatroom .box-flyout .chatroom-body .occupants ul.occupant-list,
           #conversejs .chatroom .box-flyout .chatroom-body .occupants ul.occupant-list {
-            overflow-y: scroll;
+            overflow-y: auto;
             height: -webkit-calc(100% - 205px);
             height: calc(100% - 205px); }
           #converse-embedded-chat .chatroom .box-flyout .chatroom-body .occupants ul.features-list,

+ 1 - 1
sass/_chatrooms.scss

@@ -117,7 +117,7 @@
                         list-style: none;
 
                         &.occupant-list {
-                            overflow-y: scroll;
+                            overflow-y: auto;
                             @include calc(height, '100% - 205px');
                         }
                         &.features-list {