From 0ef5ab25e2ef831b20f8c85aa5933e4a2f6c909e Mon Sep 17 00:00:00 2001 From: Chris Lawton <chris.lawton@torchbox.com> Date: Fri, 15 Feb 2019 09:49:17 +0000 Subject: [PATCH] adds modal heading modifier that removes margin --- .../funds/includes/batch_update_reviewer_form.html | 2 +- opentech/static_src/src/sass/apply/components/_modal.scss | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/opentech/apply/funds/templates/funds/includes/batch_update_reviewer_form.html b/opentech/apply/funds/templates/funds/includes/batch_update_reviewer_form.html index 508cfe1bc..887a7b46b 100644 --- a/opentech/apply/funds/templates/funds/includes/batch_update_reviewer_form.html +++ b/opentech/apply/funds/templates/funds/includes/batch_update_reviewer_form.html @@ -1,5 +1,5 @@ <div class="modal" id="batch-update-reviewers"> - <h4 class="modal__header-bar">Add Reviewers</h4> + <h4 class="modal__header-bar modal__header-bar--no-bottom-space">Add Reviewers</h4> <div class="modal__list-item modal__list-item--meta" aria-live="polite"> <span class="js-batch-title-count"></span> <a href="#" class="modal__hide-link js-toggle-batch-list">Show</a> diff --git a/opentech/static_src/src/sass/apply/components/_modal.scss b/opentech/static_src/src/sass/apply/components/_modal.scss index 2221a1317..1ffd972e0 100644 --- a/opentech/static_src/src/sass/apply/components/_modal.scss +++ b/opentech/static_src/src/sass/apply/components/_modal.scss @@ -12,9 +12,13 @@ &__header-bar { color: $color--white; background-color: $color--dark-blue; - margin: -24px -24px 0; + margin: -24px -24px 20px; padding: 15px; text-align: center; + + &--no-bottom-space { + margin-bottom: 0; + } } &__list { -- GitLab