From 5ceb48b2628628dc456cdf3e87fc291ebc9d7d6e Mon Sep 17 00:00:00 2001 From: Mathias Date: Wed, 20 Dec 2017 21:55:01 +0100 Subject: [PATCH] . --- .../static/src/less/preview_content.less | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/muk_web_preview_mail/static/src/less/preview_content.less b/muk_web_preview_mail/static/src/less/preview_content.less index 5f7ebaa..ac6182d 100644 --- a/muk_web_preview_mail/static/src/less/preview_content.less +++ b/muk_web_preview_mail/static/src/less/preview_content.less @@ -24,6 +24,7 @@ .mail-container { display: none; + height: 100%; .meta-panel { height: 175px; @@ -53,8 +54,13 @@ /* Based on Bootstrap Line Tabs by @keenthemes, Licensed under MIT */ .content-panel { + height: calc(~'100% - 180px'); padding: 0 10px 10px 10px; + .tab-line { + height: 100%; + } + .tab-line > .nav-tabs { border: none; margin: 0px; @@ -112,11 +118,16 @@ padding: 15px 0; } - .attachment-container { - position: absolute; - width: calc(~'100% - 20px'); - height: calc(~'100% - 230px'); + .tab-content { + height: 100%; + position: relative; } + + .tab-pane { + height: 100%; + overflow-y: auto; + } + } } }