Don't show scrollbar if not necessary

This commit is contained in:
JC Brand 2017-02-25 20:53:50 +00:00
parent 497df9745b
commit ad1d5c6c8e
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

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