gitea
gitea copied to clipboard
Move repo setting menu to right side to keep consistent with org's
Before
After
For mobile, it's the same as before.
It bleeds into the fade-out effect at the end of the tab bar, which is imho unacceptable.
We should replace this fade out effect with a GitHub-like mechanism that moves overflowing tab bar elements into a ...
button, but that will require some JS to work. With that, Settings can only stay left-aligned.
Have to check how it looks on mobile...
I have checked it works. See the updated screenshots.
But now organization's settings are already aligned to the right. This PR will keep them both consistent.
Have to check how it looks on mobile...
Mobile screenshots updated. It's not affected.
It does affect desktop where the "s" in "Settings" is faded out as well as the line below. Thise fade-out is not present on org page. Imho it looks to bad and I have to block it.
Removing the fade-out on this new-menu
might be one way to solve it that is borderline acceptable to me. A better way would be to implement a tab bar that overflows into a menu like this, ideally using a web component to prevent loading flash.
I will have a try at implementing such an overflow menu. Won't be a web component at least, though.
Depends on https://github.com/go-gitea/gitea/pull/29400 and I will implement the moving of the settings menu in it I think.