Browse Source

Fix scrolling for chatrooms with many participants.

JC Brand 10 years ago
parent
commit
8b968831c8
2 changed files with 4 additions and 0 deletions
  1. 2 0
      css/converse.css
  2. 2 0
      sass/_chatrooms.scss

+ 2 - 0
css/converse.css

@@ -1917,6 +1917,8 @@
           padding: 0.3em;
           padding: 0.3em;
           font-weight: bold; }
           font-weight: bold; }
         #conversejs .chatroom .box-flyout .chatroom-body .participants .participant-list {
         #conversejs .chatroom .box-flyout .chatroom-body .participants .participant-list {
+          height: 100%;
+          overflow-y: scroll;
           list-style: none; }
           list-style: none; }
           #conversejs .chatroom .box-flyout .chatroom-body .participants .participant-list li {
           #conversejs .chatroom .box-flyout .chatroom-body .participants .participant-list li {
             cursor: default;
             cursor: default;

+ 2 - 0
sass/_chatrooms.scss

@@ -58,6 +58,8 @@
                         font-weight: bold;
                         font-weight: bold;
                     }
                     }
                     .participant-list {
                     .participant-list {
+                        height: 100%;
+                        overflow-y: scroll;
                         list-style: none;
                         list-style: none;
                         li {
                         li {
                             cursor: default;
                             cursor: default;