From cf42bfbbda3a9843a227b050a4d51c87f4b4e7c1 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Wed, 2 Oct 2019 16:22:14 -0400 Subject: [PATCH] Remove text from dismiss modal button --- styles/components/_modal.scss | 7 ++++++- templates/components/modal.html | 3 --- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/styles/components/_modal.scss b/styles/components/_modal.scss index 826d37b9..216ddd8c 100644 --- a/styles/components/_modal.scss +++ b/styles/components/_modal.scss @@ -137,7 +137,6 @@ body { position: absolute; top: $gap; right: $gap; - width: 8rem; @include media($medium-screen) { top: $gap * 2; @@ -251,3 +250,9 @@ body { } } } + +.modal--dismissable { + .modal__body { + padding-top: $gap * 3.5; + } +} diff --git a/templates/components/modal.html b/templates/components/modal.html index 6d7fd06f..04821261 100644 --- a/templates/components/modal.html +++ b/templates/components/modal.html @@ -16,9 +16,6 @@ {% if dismissable %} {% endif %}