Skip to content

Commit 1e35145

Browse files
authored
fix: custom z-index classNames (#8395)
1 parent 465c99f commit 1e35145

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/propel/src/dialog/root.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ export interface DialogTitleProps extends React.ComponentProps<typeof BaseDialog
3535
}
3636

3737
// Constants
38-
const OVERLAY_CLASSNAME = cn("fixed inset-0 z-backdrop bg-backdrop");
39-
const BASE_CLASSNAME = "relative text-left bg-surface-1 rounded-lg shadow-md w-full z-modal border border-subtle";
38+
const OVERLAY_CLASSNAME = cn("fixed inset-0 z-90 bg-backdrop");
39+
const BASE_CLASSNAME = "relative text-left bg-surface-1 rounded-lg shadow-md w-full z-100 border border-subtle";
4040

4141
// Utility functions
4242
const getPositionClassNames = (position: DialogPosition) =>
43-
cn("isolate fixed z-modal", {
43+
cn("isolate fixed z-100", {
4444
"top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2": position === "center",
4545
"top-8 left-1/2 -translate-x-1/2": position === "top",
4646
});

0 commit comments

Comments
 (0)