Browse Source

remove h2 tag from filter headers #35

main
ghost 1 year ago
parent
commit
1ae5d324c2
  1. 12
      templates/default/search/module.html.twig

12
templates/default/search/module.html.twig

@ -4,10 +4,8 @@
{% if filter %} {% if filter %}
<input type="hidden" name="filter" value="true" /> <input type="hidden" name="filter" value="true" />
<div class="text-left"> <div class="text-left">
<div class="margin-t-16-px margin-b-4-px text-right"> <div class="margin-t-16-px margin-b-4-px padding-x-4-px text-right">
<h2 class="margin-x-4-px">
{{ 'Locales' | trans }} {{ 'Locales' | trans }}
</h2>
</div> </div>
<div class="padding-t-16-px padding-b-8-px padding-x-24-px border-top-default"> <div class="padding-t-16-px padding-b-8-px padding-x-24-px border-top-default">
{% for locale in locales | sort %} {% for locale in locales | sort %}
@ -23,10 +21,8 @@
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
<div class="margin-b-4-px text-right"> <div class="margin-b-4-px padding-x-4-px text-right">
<h2 class="margin-x-4-px">
{{ 'Categories' | trans }} {{ 'Categories' | trans }}
</h2>
</div> </div>
<div class="padding-t-16-px padding-b-8-px padding-x-24-px border-top-default"> <div class="padding-t-16-px padding-b-8-px padding-x-24-px border-top-default">
{% for category in categories | sort %} {% for category in categories | sort %}
@ -42,10 +38,8 @@
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
<div class="margin-b-4-px text-right"> <div class="margin-b-4-px padding-x-4-px text-right">
<h2 class="margin-x-4-px">
{{ 'other' | trans | u.title }} {{ 'other' | trans | u.title }}
</h2>
</div> </div>
<div class="padding-t-16-px padding-b-8-px padding-x-24-px border-top-default"> <div class="padding-t-16-px padding-b-8-px padding-x-24-px border-top-default">
{% if sensitive %} {% if sensitive %}

Loading…
Cancel
Save