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 %}