diff options
author | Giteabot <teabot@gitea.io> | 2024-06-07 10:19:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-07 04:19:00 +0200 |
commit | a9187571054d1adcefea195e43893a92b984be79 (patch) | |
tree | 64f7417774b642254bb04df26d454cde92c563c1 | |
parent | c07416b3d0b1772d6e00e26be92eb89fea1ddc57 (diff) | |
download | gitea-a9187571054d1adcefea195e43893a92b984be79.tar.gz gitea-a9187571054d1adcefea195e43893a92b984be79.zip |
fixed the dropdown menu for the top New button to expand to the left (#31273) (#31275)
Backport #31273 by @kerwin612
before:

after:

Co-authored-by: Kerwin Bryant <kerwin612@qq.com>
-rw-r--r-- | templates/base/head_navbar.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index 7a3e663c49..2b52247303 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -104,7 +104,7 @@ <span class="not-mobile">{{svg "octicon-triangle-down"}}</span> <span class="only-mobile">{{ctx.Locale.Tr "create_new"}}</span> </span> - <div class="menu"> + <div class="menu left"> <a class="item" href="{{AppSubUrl}}/repo/create"> {{svg "octicon-plus"}} {{ctx.Locale.Tr "new_repo"}} </a> |