Lower z-index for hover actions so they dont display over header

This commit is contained in:
Jackson Harper
2023-08-03 16:51:54 +08:00
parent 03497da863
commit 63e47a87ad
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ export function LibraryGridCard(props: LinkedItemCardProps): JSX.Element {
{!isTouchScreenDevice() && (
<Box
ref={refs.setFloating}
style={{ ...floatingStyles, zIndex: 10 }}
style={{ ...floatingStyles, zIndex: 3 }}
{...getFloatingProps()}
>
<LibraryHoverActions

View File

@ -100,7 +100,7 @@ export function LibraryListCard(props: LinkedItemCardProps): JSX.Element {
{!isTouchScreenDevice() && (
<Box
ref={refs.setFloating}
style={floatingStyles}
style={{ ...floatingStyles, zIndex: 3 }}
{...getFloatingProps()}
>
<LibraryHoverActions