Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat: Fix dash nav zindex issues on mobile
Richie McIlroyb441b7e4fa2e
diff --git a/apps/web/app/dashboard/_components/AdminNavbar/AdminMobileNav.tsx b/apps/web/app/dashboard/_components/AdminNavbar/AdminMobileNav.tsxindex 7a304e153..09ab80ed9 100644--- a/apps/web/app/dashboard/_components/AdminNavbar/AdminMobileNav.tsx+++ b/apps/web/app/dashboard/_components/AdminNavbar/AdminMobileNav.tsx@@ -20,7 +20,7 @@ export const AdminMobileNav = () => {initial={{ opacity: 0 }}animate={{ opacity: 1 }}exit={{ opacity: 0 }}- className="flex fixed inset-0 z-50 lg:hidden bg-gray-200/50"+ className="flex fixed inset-0 z-[1000000] lg:hidden bg-gray-200/50"><motion.divref={sidebarRef}@@ -44,7 +44,7 @@ export const AdminMobileNav = () => {</motion.div>)}</AnimatePresence>- <div className="flex fixed z-10 justify-between w-full h-16 bg-gray-50 border-b lg:border-none lg:hidden">+ <div className="flex fixed z-50 justify-between w-full h-16 bg-gray-50 border-b lg:border-none lg:hidden"><div className="flex flex-shrink-0 items-center px-4 h-full lg:hidden"><Link className="block" href="/dashboard"><LogoBadge className="block w-auto h-8" />diff --git a/apps/web/app/dashboard/_components/DashboardInner.tsx b/apps/web/app/dashboard/_components/DashboardInner.tsxindex 286953099..4673d1b68 100644--- a/apps/web/app/dashboard/_components/DashboardInner.tsx+++ b/apps/web/app/dashboard/_components/DashboardInner.tsx@@ -39,7 +39,7 @@ export default function DashboardInner({{/* Top Bar */}<divclassName={clsx(- "flex sticky z-10 justify-between items-center px-5 mt-10 w-full h-16 bg-gray-50 border-b border-gray-200 lg:border-b-0 lg:pl-0 lg:pr-5 lg:top-0 lg:relative top-[64px] lg:mt-0 lg:h-8"+ "flex sticky z-50 justify-between items-center px-5 mt-10 w-full h-16 bg-gray-50 border-b border-gray-200 lg:border-b-0 lg:pl-0 lg:pr-5 lg:top-0 lg:relative top-[64px] lg:mt-0 lg:h-8")}><p className="relative text-xl text-gray-500 lg:text-2xl">{title}</p>