From 52d16017c3280dd1824b776225905bc963b241aa Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Wed, 2 Oct 2019 13:13:38 -0400 Subject: [PATCH 01/16] Update styling for modal macro and add notes about what classes to use to maintain styling --- styles/components/_modal.scss | 18 ++++++++++++------ templates/components/modal.html | 5 +++++ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/styles/components/_modal.scss b/styles/components/_modal.scss index 561c5c33..d4df9845 100644 --- a/styles/components/_modal.scss +++ b/styles/components/_modal.scss @@ -50,9 +50,8 @@ body { &__body { background-color: $color-white; - padding: $gap * 2; + padding: $gap * 1.5; width: 100%; - border-radius: 5px; overflow-y: auto; -ms-overflow-style: scrollbar; @@ -60,10 +59,6 @@ body { max-height: calc(100vh - #{$gap * 8}); } - @include media($medium-screen) { - padding: $gap * 2.5 $gap * 5; - } - h1, h2 { @include h3; @@ -121,6 +116,17 @@ body { } } } + + .action-group { + background-color: $color-gray-lightest; + padding: $gap * 2; + margin: 0 (-$gap * 1.5) (-$gap * 1.5); + } + + hr { + border-bottom: 1px solid $color-gray-lighter; + margin: 0 (-$gap * 1.5); + } } &__dismiss { diff --git a/templates/components/modal.html b/templates/components/modal.html index fee30067..6d7fd06f 100644 --- a/templates/components/modal.html +++ b/templates/components/modal.html @@ -6,6 +6,11 @@