diff options
author | silverwind <me@silverwind.io> | 2023-06-24 06:31:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-24 04:31:39 +0000 |
commit | be47015229cd447040241135e18cb15be589e2cf (patch) | |
tree | a421e795cfda3380ef10b080e713f70d42fb5be3 /templates/base/head_navbar.tmpl | |
parent | 9c62ca568962bdefb12aaee21c479025b0dea515 (diff) | |
download | gitea-be47015229cd447040241135e18cb15be589e2cf.tar.gz gitea-be47015229cd447040241135e18cb15be589e2cf.zip |
Navbar fixes (#25402)
Fixes: https://github.com/go-gitea/gitea/issues/25444
Followup for some regressions from
https://github.com/go-gitea/gitea/pull/25343. Before and after:
<img width="219" alt="Screenshot 2023-06-21 at 00 25 20"
src="https://github.com/go-gitea/gitea/assets/115237/08fe8e01-0a16-4cdf-ad4d-0a9048408e9e">
<img width="220" alt="Screenshot 2023-06-21 at 00 25 32"
src="https://github.com/go-gitea/gitea/assets/115237/be25ae69-6ed0-4af5-8eeb-d7b210e7c124">
Fixes mobile button background and margins:
<img width="836" alt="Screenshot 2023-06-21 at 00 39 58"
src="https://github.com/go-gitea/gitea/assets/115237/d76ac1e9-747f-477c-9a42-b73e129b72ee">
Diffstat (limited to 'templates/base/head_navbar.tmpl')
-rw-r--r-- | templates/base/head_navbar.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index 3086e674fd..a2be0187d9 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -11,16 +11,16 @@ </a> <!-- mobile right menu, it must be here because in mobile view, each item is a flex column, the first item is a full row column --> - <div class="ui secondary menu item navbar-mobile-right gt-gap-2"> + <div class="ui secondary menu item navbar-mobile-right"> {{if .IsSigned}} - <a class="item mobile-right-item gt-mr-2 gt-p-3" href="{{AppSubUrl}}/notifications" data-tooltip-content="{{.locale.Tr "notifications"}}" aria-label="{{.locale.Tr "notifications"}}"> + <a id="mobile-notifications-icon" class="item gt-w-auto gt-p-3" href="{{AppSubUrl}}/notifications" data-tooltip-content="{{.locale.Tr "notifications"}}" aria-label="{{.locale.Tr "notifications"}}"> <div class="gt-relative"> {{svg "octicon-bell"}} <span class="notification_count{{if not $notificationUnreadCount}} gt-hidden{{end}}">{{$notificationUnreadCount}}</span> </div> </a> {{end}} - <button class="item mobile-right-item ui icon mini button gt-p-3 gt-m-0" id="navbar-expand-toggle">{{svg "octicon-three-bars"}}</button> + <button class="item gt-w-auto ui icon mini button gt-p-3 gt-m-0" id="navbar-expand-toggle">{{svg "octicon-three-bars"}}</button> </div> |