Add a tiny bit more spacing under the folder heading when the user has no template search or channel filters

This commit is contained in:
Chris Hill-Scott
2019-07-12 16:03:52 +01:00
parent 886992af17
commit e4abc74b80
2 changed files with 3 additions and 3 deletions

View File

@@ -88,8 +88,8 @@
margin-top: $gutter;
&.top-gutter-0 {
margin-top: 0;
&.top-gutter-5px {
margin-top: 5px;
}
}

View File

@@ -21,7 +21,7 @@
{% endif %}
</p>
{% else %}
<nav id="template-list" class="{{ 'top-gutter-0' if (not show_template_nav and not show_search_box) else '' }}">
<nav id="template-list" class="{{ 'top-gutter-5px' if (not show_template_nav and not show_search_box) else '' }}">
{% for item in template_list %}
<div class="template-list-item {% if current_user.has_permissions('manage_templates') %}template-list-item-with-checkbox{% endif %} {% if item.ancestors %}template-list-item-hidden-by-default{% endif %} {% if not item.ancestors %}template-list-item-without-ancestors{% endif %}">
{% if current_user.has_permissions('manage_templates') %}