Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fix: z-index

Blue Mousefab6aa4982ad
diff --git a/web/app/pages/Project/View/components/ProjectSidebar.tsx b/web/app/pages/Project/View/components/ProjectSidebar.tsx
index eb495ac26..f3f9c17ed 100644
--- a/web/app/pages/Project/View/components/ProjectSidebar.tsx
+++ b/web/app/pages/Project/View/components/ProjectSidebar.tsx
@@ -579,7 +579,7 @@ const ProjectSidebar: React.FC<ProjectSidebarProps> = ({
if (isMobileOpen) {
return (
- <div className='fixed inset-0 z-50 md:hidden pointer-events-auto'>
+ <div className='pointer-events-auto fixed inset-0 z-50 md:hidden'>
<div className='animate-fade-in absolute inset-0 bg-black/50' onClick={onMobileClose} aria-hidden='true' />
<div className='animate-slide-in-left relative h-full w-fit'>{sidebarContent}</div>
</div>
@@ -598,7 +598,7 @@ export const MobileSidebarTrigger: React.FC<MobileSidebarTriggerProps> = ({ onCl
const { t } = useTranslation('common')
return (
- <div className='mb-4 flex items-center gap-3 md:hidden relative z-50'>
+ <div className='relative z-10 mb-4 flex items-center gap-3 md:hidden'>
<button
type='button'
onClick={onClick}