Hide search icon and form on mobile; print plain link instead
This commit is contained in:
parent
c8d8de3bfc
commit
db0bf279ee
1 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
||||||
* @see template_preprocess_block()
|
* @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">
|
<div class="navbar-item navbar-search-swap">
|
||||||
<span class="icon"><span class="agc agc-search"></span></span>
|
<span class="icon"><span class="agc agc-search"></span></span>
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
@ -33,3 +33,4 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<a class="navbar-item is-hidden-tablet" href="/search">Search</a>
|
||||||
|
|
Loading…
Reference in a new issue