From 0fcd28ccb6a67f4e90b2f8d3a6bc39eb29dd6325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20FERNANDES?= Date: Sun, 6 Oct 2024 22:39:29 +0200 Subject: [PATCH] fix(z-index): modified some values that where wrong --- src/components/DropdownMenu/DropdownMenu.tsx | 4 ++-- src/components/Menubar/Menubar.tsx | 4 ++-- src/components/PopupModal/PopupModal.tsx | 2 +- src/components/Tooltip/Tooltip.tsx | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/DropdownMenu/DropdownMenu.tsx b/src/components/DropdownMenu/DropdownMenu.tsx index 46fb572..fb9c4f7 100644 --- a/src/components/DropdownMenu/DropdownMenu.tsx +++ b/src/components/DropdownMenu/DropdownMenu.tsx @@ -47,7 +47,7 @@ const DropdownMenuSubContent = React.forwardRef< ( ...rest } = props; const [hidden, setHidden] = useState(status); - const fullModeClass = fullMode ? 'fixed top-0 left-0 right-0 z-30' : ''; + const fullModeClass = fullMode ? 'fixed top-0 left-0 right-0 z-50' : 'z-50'; useEffect(() => { handleOpen(); diff --git a/src/components/Tooltip/Tooltip.tsx b/src/components/Tooltip/Tooltip.tsx index 2b08137..a3ee599 100644 --- a/src/components/Tooltip/Tooltip.tsx +++ b/src/components/Tooltip/Tooltip.tsx @@ -50,7 +50,7 @@ export function Tooltip(props: TooltipProps) { {clonedIcon} {children}