Hide search icon on larger screens that have search bar
It can be well argued that this should have been removed for screen readers also, but i only removed it because it was visually confusing directly below the search bar and clicking on it meant losing what you'd typed in, and this doesn't apply to how search bar and search link will appear in screen readers.
This commit is contained in:
parent
7938e87df1
commit
2e30481791
1 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,9 @@
|
||||||
])
|
])
|
||||||
%}
|
%}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if item.url|render == '/search' %}
|
||||||
|
{% set item_classes = item_classes|merge(['is-hidden-tablet']) %}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ link(
|
{{ link(
|
||||||
item.title,
|
item.title,
|
||||||
|
|
Loading…
Add table
Reference in a new issue