gitea icon indicating copy to clipboard operation
gitea copied to clipboard

Review Menu Shown Behind

Open metiftikci opened this issue 1 year ago • 1 comments
trafficstars

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

metiftikci avatar May 28 '24 21:05 metiftikci

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.

silverwind avatar May 28 '24 22:05 silverwind