Merge pull request #2424 from alphagov/templates-page-spacing

Make spacing tighter on templates page
This commit is contained in:
Chris Hill-Scott
2018-10-31 09:39:00 +00:00
committed by GitHub
2 changed files with 7 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
&-name { &-name {
@include bold-24; @include bold-24;
margin: 20px 0 5px 0; margin: 0;
a { a {
display: block; display: block;
@@ -14,8 +14,12 @@
&-type { &-type {
color: $secondary-text-colour; color: $secondary-text-colour;
margin-bottom: $gutter / 3; margin: 0 0 $gutter-two-thirds 0;
pointer-events: none; pointer-events: none;
} }
} }
#template-list {
margin-top: $gutter;
}

View File

@@ -51,7 +51,7 @@
</div> </div>
{% if show_template_nav %} {% if show_template_nav %}
<div class="bottom-gutter-2-3"> <div class="bottom-gutter">
{{ pill(template_nav_items, current_value=template_type, show_count=False) }} {{ pill(template_nav_items, current_value=template_type, show_count=False) }}
</div> </div>
{% endif %} {% endif %}