Skip to content

Commit 2262879

Browse files
committed
Use polyfilled version for older browsers
1 parent 87f7984 commit 2262879

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/theme.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@ export const themeOverrides = {
338338
},
339339
dialog: {
340340
outline: "unset",
341-
minH: "calc(100dvh - 4rem)",
342-
maxW: "calc(100dvw - 4rem)",
341+
minH: "calc(var(--chakra-vh) - 4rem)",
342+
maxW: "calc(100vw - 4rem)",
343343
my: "2rem",
344344
borderRadius: "3xl",
345345
overflow: "hidden",

0 commit comments

Comments
 (0)