From 84a0b78d66a785ce6bd9d4978d14ded3f782c683 Mon Sep 17 00:00:00 2001 From: Simon Grim Date: Fri, 6 Nov 2015 19:30:15 +0500 Subject: [PATCH] #fix of group profile modal: show scroll-bar if member list doesn't fit to window --- css/style.css | 3 +++ sass/layout/_profile.sass | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/css/style.css b/css/style.css index 84beee5..23dcdfc 100644 --- a/css/style.css +++ b/css/style.css @@ -1112,6 +1112,9 @@ button.light:hover, .light.show-more-followers:hover, a.button.light:hover { .profile-modal .modal-content .profile-data { background: none; } +.profile-modal .modal-content .members { + overflow-y: auto; +} .profile-modal h2.profile-screen-name { display: block; diff --git a/sass/layout/_profile.sass b/sass/layout/_profile.sass index 6139b51..2f56bd3 100644 --- a/sass/layout/_profile.sass +++ b/sass/layout/_profile.sass @@ -15,7 +15,6 @@ $modal-postboard-post-height: 100% .profile-modal - .modal-content overflow: hidden padding: 0 @@ -28,13 +27,11 @@ $modal-postboard-post-height: 100% height: 100% position: absolute - .postboard-posts display: block height: $modal-postboard-post-height overflow: auto - .profile-card margin: 0 padding: 0 @@ -42,6 +39,9 @@ $modal-postboard-post-height: 100% .profile-data background: none + .members + overflow-y: auto + .profile-modal h2.profile-screen-name display: block