go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.36k stars 5.43k forks source link

Review Menu Shown Behind #31144

Open metiftikci opened 4 months ago

metiftikci commented 4 months ago

Description

after #31062 popup menu shown behind if section collapsed

all headers are sticky and their z-index are same. so upper menu cant visible on front

https://github.com/go-gitea/gitea/blob/4fe415683e685838fde4e11f14f0309bbadb36e4/templates/repo/diff/box.tmpl#L113

if i decrease z-index of second header it work but i believe this is not the correct solution

Screenshots

image

Edit:

Github uses extra class for menu's header

image

Gitea Version

latest

Can you reproduce the bug on the Gitea demo site?

No

Operating System

No response

Browser Version

latest

silverwind commented 4 months ago

Ideally such menus shouldn't be z-fighting with the page elements in first place and this could be achieved by using tippy dropdown instead of fomantic dropdown.