]> source.dussan.org Git - gitea.git/commit
Right align the "Settings" menu item in overflow-menu (#30764)
authorwxiaoguang <wxiaoguang@gmail.com>
Tue, 30 Apr 2024 04:26:13 +0000 (12:26 +0800)
committerGitHub <noreply@github.com>
Tue, 30 Apr 2024 04:26:13 +0000 (04:26 +0000)
commit059b2718a5615c01b897283f6ae53c9702f11239
tree4f86067258c0b73c4839eb0cc38a7acfdff1e8c6
parent7ad50313284db7eec565ad1750108de1444c5a84
Right align the "Settings" menu item in overflow-menu (#30764)

I guess there could be enough people liking to make the Settings menu
item right aligned. As a site admin, I found it's easier to find the
right-aligned Settings menu item.

Tested with various sizes:

![image](https://github.com/go-gitea/gitea/assets/2114189/92836527-2cb2-4531-9296-233c5bd698f4)

![image](https://github.com/go-gitea/gitea/assets/2114189/3a0729fc-5e33-44b5-9fb4-3a4e787405b5)

![image](https://github.com/go-gitea/gitea/assets/2114189/9845ab6b-88e3-4e5a-8d6d-2b8af259d593)
templates/org/menu.tmpl
templates/repo/header.tmpl
web_src/css/base.css
web_src/css/modules/container.css
web_src/js/webcomponents/overflow-menu.js