Hide search icon and form on mobile; print plain link instead

This commit is contained in:
benjamin melançon 2018-12-17 23:59:10 -05:00
parent c8d8de3bfc
commit db0bf279ee

View file

@ -25,7 +25,7 @@
* @see template_preprocess_block()
*/
#}
<div{{ attributes.addClass('navbar-item', 'navbar-search') }}>
<div{{ attributes.addClass('navbar-item', 'navbar-search', 'is-hidden-mobile') }}>
<div class="navbar-item navbar-search-swap">
<span class="icon"><span class="agc agc-search"></span></span>
{% block content %}
@ -33,3 +33,4 @@
{% endblock %}
</div>
</div>
<a class="navbar-item is-hidden-tablet" href="/search">Search</a>