diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2019-03-26 17:46:31 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-03-28 13:06:33 +0000 |
commit | 4e23ce51fa7353b915488266517c786168a41880 (patch) | |
tree | c5efc858880500a221681a0def5aaeef400b4ef2 /templates | |
parent | ab11fd295a49bf9107832db27e157741a5cd4224 (diff) |
Matching vertical margins for new `js-post-category-messages`
* Shared margin rules for `.box-warning` and `.extra-category-questions`
in `_base.scss` and `_layout.scss` (where the margin can potentially
change based on the `$mappage-sidebar-padding` variable).
* Move the Sass rules for `.box-warning` further up `_base.scss` to be
next to `.extra-category-questions` since they’re both so similar.
* No need for `.full-width` on the `.extra-category-questions` div since
we were overriding the margin-top anyway.
* Remove the little triangle between the category select box and the
grey `.extra-category-questions` div, since the category questions
isn’t always presented immediately after the category select box.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/report/new/category_extras.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/report/new/category_extras.html b/templates/web/base/report/new/category_extras.html index f787b9c52..c7bdad94d 100644 --- a/templates/web/base/report/new/category_extras.html +++ b/templates/web/base/report/new/category_extras.html @@ -9,7 +9,7 @@ [%- IF category_extras.$category.size %] [% UNLESS category_extras_hidden.$category %] - <div class="extra-category-questions full-width"> + <div class="extra-category-questions"> <h2 class="form-section-heading">[% category %]</h2> <p class="form-section-description"> [% tprintf( |