From cd975c6190859d56df7bb588dd0d9a6c703f9153 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Thu, 19 Jan 2017 15:43:26 +0000 Subject: [PATCH] Make resolved comments dropdown scrollable in IE. --- services/web/public/stylesheets/app/editor/review-panel.less | 1 + 1 file changed, 1 insertion(+) diff --git a/services/web/public/stylesheets/app/editor/review-panel.less b/services/web/public/stylesheets/app/editor/review-panel.less index d66c7b8f7c..97d93e8b9f 100644 --- a/services/web/public/stylesheets/app/editor/review-panel.less +++ b/services/web/public/stylesheets/app/editor/review-panel.less @@ -814,6 +814,7 @@ .resolved-comments-scroller { flex: 0 0 auto; // Can't use 100% in the flex-basis key here, IE won't account for padding. width: 100%; // We need to set the width explicitly, as flex-basis won't work. + max-height: ~"calc(100vh - 100px)"; // We also need to explicitly set the max-height, IE won't compute the flex-determined height. padding: 5px; overflow-y: auto; }