Skip to content

Commit 74a3996

Browse files
authored
Don't show mobile hamburger on auth and login pages (#4524)
The mobile navigation is empty on the login and auth pages, but the hamburger menu is still displayed. This PR disables the hamburger on those two pages
1 parent 3afb43a commit 74a3996

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

hypha/templates/base-apply.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@
3131

3232
{% if request.path != '/auth/' and request.path != '/login/' %}
3333
{% include "includes/user_menu.html" %}
34-
{% endif %}
3534

36-
<button
37-
class="p-1.5 text-center rounded-sm border transition-colors md:hidden hover:bg-slate-100"
38-
@click="showDesktopMenu = true"
39-
>
40-
<span class="sr-only">{% trans "Menu" %}</span>
41-
{% heroicon_outline "bars-3" aria_hidden="true" class="inline align-bottom" %}
42-
</button>
35+
<button
36+
class="p-1.5 text-center rounded-sm border transition-colors md:hidden hover:bg-slate-100"
37+
@click="showDesktopMenu = true"
38+
>
39+
<span class="sr-only">{% trans "Menu" %}</span>
40+
{% heroicon_outline "bars-3" aria_hidden="true" class="inline align-bottom" %}
41+
</button>
42+
{% endif %}
4343
</div>
4444
</header>
4545
{% endblock header %}

0 commit comments

Comments
 (0)