Skip to content

Commit

Permalink
Merge pull request #1539 from maykinmedia/issue/2954-remove-mobile-se…
Browse files Browse the repository at this point in the history
…arch

💄 [#2954] Remove Search from mobile menu
  • Loading branch information
alextreme authored Jan 9, 2025
2 parents 4b86009 + f8ffab4 commit fbae2b8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,6 @@
{% trans "Logout" as logout %}
{% link text=logout href=request.user.get_logout_url icon="login" icon_position="before" primary=True %}
</li>
{% if cms_apps.products and request.user.is_authenticated or not config.hide_search_from_anonymous_users %}
<li class="header__list-item">
{% trans "Zoeken" as search %}
{% link text=search href="/search" icon="search" icon_position="before" %}
</li>
{% endif %}
</ul>
{% elif config.login_show %}
<ul class="header__list">
Expand All @@ -102,10 +96,6 @@
{% trans "Log in" as loginmobile %}
{% link text=loginmobile title=loginmobile href=login_url icon="account_circle" icon_position="before" primary=True icon_outlined=True %}
</li>
<li class="header__list-item">
{% trans "Zoeken" as search %}
{% link text=search href="/search" icon="search" icon_position="before" %}
</li>
</ul>
{% endif %}
</div>
Expand Down
4 changes: 0 additions & 4 deletions src/open_inwoner/scss/components/Header/Header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -511,10 +511,6 @@ $vm: var(--spacing-large);
gap: var(--spacing-large);
vertical-align: bottom;
}

[title='Zoeken'] {
display: none;
}
}

.form--inline {
Expand Down

0 comments on commit fbae2b8

Please sign in to comment.