From aa3ee8f598dc33debb307be695aabe0ce8c26916 Mon Sep 17 00:00:00 2001 From: Chris Lawton <chris.lawton@torchbox.com> Date: Mon, 6 Aug 2018 15:14:56 +0100 Subject: [PATCH] add admin bar inner with button styles --- opentech/apply/review/templates/review/review_list.html | 2 +- .../static_src/src/sass/apply/components/_admin-bar.scss | 9 +++++++++ .../static_src/src/sass/apply/components/_wrapper.scss | 9 --------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/opentech/apply/review/templates/review/review_list.html b/opentech/apply/review/templates/review/review_list.html index 889f3292f..a8bdbdf55 100644 --- a/opentech/apply/review/templates/review/review_list.html +++ b/opentech/apply/review/templates/review/review_list.html @@ -5,7 +5,7 @@ {% block content %} <div class="admin-bar"> - <div class="admin-bar__inner"> + <div class="admin-bar__inner admin-bar__inner--with-button"> <div> <h1 class="beta heading heading--no-margin heading--bold">Reviews</h1> <h5>For <a href="{% url "funds:submissions:detail" submission.id %}">{{ submission.title }}</a></h5> diff --git a/opentech/static_src/src/sass/apply/components/_admin-bar.scss b/opentech/static_src/src/sass/apply/components/_admin-bar.scss index 68e48b10d..d73851de6 100644 --- a/opentech/static_src/src/sass/apply/components/_admin-bar.scss +++ b/opentech/static_src/src/sass/apply/components/_admin-bar.scss @@ -12,5 +12,14 @@ &__inner { max-width: $site-width; margin: 0 auto; + + &--with-button { + @include media-query(tablet-portrait) { + display: flex; + align-items: center; + flex-direction: row; + justify-content: space-between; + } + } } } diff --git a/opentech/static_src/src/sass/apply/components/_wrapper.scss b/opentech/static_src/src/sass/apply/components/_wrapper.scss index 15ddac1fa..fe5c73668 100644 --- a/opentech/static_src/src/sass/apply/components/_wrapper.scss +++ b/opentech/static_src/src/sass/apply/components/_wrapper.scss @@ -306,13 +306,4 @@ cursor: all-scroll; } } - - &--reviews { - @include media-query(tablet-portrait) { - display: flex; - align-items: center; - flex-direction: row; - justify-content: space-between; - } - } } -- GitLab