Skip to content

Commit a918757

Browse files
GiteaBotkerwin612
andauthored
fixed the dropdown menu for the top New button to expand to the left (#31273) (#31275)
Backport #31273 by @kerwin612 before: ![1717660314025](https://github.com/go-gitea/gitea/assets/3371163/17ae7a48-31c5-4c71-b285-f65d9106bf86) after: ![1717660674763](https://github.com/go-gitea/gitea/assets/3371163/85f847ac-a044-4695-9004-26e6485288c6) Co-authored-by: Kerwin Bryant <kerwin612@qq.com>
1 parent c07416b commit a918757

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/base/head_navbar.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
<span class="not-mobile">{{svg "octicon-triangle-down"}}</span>
105105
<span class="only-mobile">{{ctx.Locale.Tr "create_new"}}</span>
106106
</span>
107-
<div class="menu">
107+
<div class="menu left">
108108
<a class="item" href="{{AppSubUrl}}/repo/create">
109109
{{svg "octicon-plus"}} {{ctx.Locale.Tr "new_repo"}}
110110
</a>

0 commit comments

Comments
 (0)