Skip to content

Commit 3671ced

Browse files
authored
fix(modal): modal overflowing bottom in chrome on ios (#1270)
fix(modal]): modal overflowing bottom in chrome on ios modal overflowing the bottom in chrome on ios due to not using dynamic viewport units
1 parent 76d77a7 commit 3671ced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Modal/theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const modalTheme: FlowbiteModalTheme = {
3333
},
3434
content: {
3535
base: 'relative h-full w-full p-4 md:h-auto',
36-
inner: 'relative rounded-lg bg-white shadow dark:bg-gray-700 flex flex-col max-h-[90vh]',
36+
inner: 'relative rounded-lg bg-white shadow dark:bg-gray-700 flex flex-col max-h-[90dvh]',
3737
},
3838
body: {
3939
base: 'p-6 flex-1 overflow-auto',

0 commit comments

Comments
 (0)