From c0d41d446563261802b286d1dd3575069c6c72f2 Mon Sep 17 00:00:00 2001 From: Chris Lawton <chris.lawton@torchbox.com> Date: Mon, 11 Jun 2018 11:45:48 +0100 Subject: [PATCH] unordered lists should only have list items as children --- opentech/apply/funds/templates/funds/submissions.html | 4 +++- opentech/static_src/src/sass/apply/components/_button.scss | 7 ++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/opentech/apply/funds/templates/funds/submissions.html b/opentech/apply/funds/templates/funds/submissions.html index 41f9721b8..419bc203b 100644 --- a/opentech/apply/funds/templates/funds/submissions.html +++ b/opentech/apply/funds/templates/funds/submissions.html @@ -30,7 +30,9 @@ <form action="" method="get" class="form form--filters"> <ul class="form__filters select2 js-filter-list"> {{ filter.form.as_ul }} - <button class="button button--primary" type="submit" value="Filter">Filter</button> + <li> + <button class="button button--primary" type="submit" value="Filter">Filter</button> + </li> </ul> </form> </div> diff --git a/opentech/static_src/src/sass/apply/components/_button.scss b/opentech/static_src/src/sass/apply/components/_button.scss index c24307c28..d13790982 100644 --- a/opentech/static_src/src/sass/apply/components/_button.scss +++ b/opentech/static_src/src/sass/apply/components/_button.scss @@ -10,11 +10,8 @@ display: inline-block; .form--filters & { - margin-right: 0; - - @include media-query(tablet-portrait) { - flex-basis: 125px; - } + width: 100%; + height: 100%; } } -- GitLab