From 2a1017d3d0d9ea9cb9f6f426e18192e4cae3b1e8 Mon Sep 17 00:00:00 2001 From: Paul Cramer Date: Thu, 30 Jan 2025 16:17:52 -0800 Subject: [PATCH] Add z index const --- src/internal/components/primitives/Dialog.tsx | 4 +++- .../components/primitives/DropdownMenu.tsx | 9 ++++++++- src/internal/components/primitives/Popover.tsx | 9 ++++++++- src/styles/constants.ts | 14 +++++++------- 4 files changed, 26 insertions(+), 10 deletions(-) diff --git a/src/internal/components/primitives/Dialog.tsx b/src/internal/components/primitives/Dialog.tsx index 477639383e2..2cd984bcd38 100644 --- a/src/internal/components/primitives/Dialog.tsx +++ b/src/internal/components/primitives/Dialog.tsx @@ -1,4 +1,5 @@ import { useTheme } from '@/internal/hooks/useTheme'; +import { zIndex } from '@/styles/constants'; import { cn } from '@/styles/theme'; import type React from 'react'; import { useRef } from 'react'; @@ -43,7 +44,8 @@ export function Dialog({
+
+