From 7919f24a134e2589b2a76d658ab7b5d2a3675ca1 Mon Sep 17 00:00:00 2001 From: Ben Dansby Date: Thu, 1 Oct 2020 14:09:51 -0700 Subject: [PATCH 1/2] remove/lower min heights --- src/Nri/Ui/Modal/V11.elm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Nri/Ui/Modal/V11.elm b/src/Nri/Ui/Modal/V11.elm index bc6820fe..56ec5f45 100644 --- a/src/Nri/Ui/Modal/V11.elm +++ b/src/Nri/Ui/Modal/V11.elm @@ -408,7 +408,6 @@ modalStyles = , margin2 (px 50) auto -- Size - , minHeight (vh 40) , width (px 600) , backgroundColor Colors.white @@ -624,7 +623,7 @@ viewInnerContent ({ visibleTitle } as config) = [ Attrs.css [ Css.overflowY Css.auto , Css.overflowX Css.hidden - , Css.minHeight (Css.px 150) + , Css.minHeight (Css.px 50) , Css.maxHeight (Css.calc (Css.vh 100) Css.minus From 80f0b547549bddf9c26b5815acfe939c00f44b8a Mon Sep 17 00:00:00 2001 From: Ben Dansby Date: Thu, 1 Oct 2020 14:50:11 -0700 Subject: [PATCH 2/2] footer tweak --- src/Nri/Ui/Modal/V11.elm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Nri/Ui/Modal/V11.elm b/src/Nri/Ui/Modal/V11.elm index 56ec5f45..ca1aa592 100644 --- a/src/Nri/Ui/Modal/V11.elm +++ b/src/Nri/Ui/Modal/V11.elm @@ -692,8 +692,8 @@ viewFooter children = , Css.flexDirection Css.column , Css.flexGrow (Css.int 2) , Css.flexWrap Css.noWrap - , Css.margin4 (Css.px 20) Css.zero Css.zero Css.zero - , Css.paddingBottom (Css.px 40) + , Css.margin4 (Css.px 30) Css.zero Css.zero Css.zero + , Css.paddingBottom (Css.px 30) , Css.width (Css.pct 100) ] ]