Skip to content

Commit

Permalink
fix(modal): modal overflowing bottom in chrome on ios (#1270)
Browse files Browse the repository at this point in the history
fix(modal]): modal overflowing bottom in chrome on ios

modal overflowing the bottom in chrome on ios due to not using dynamic viewport units
  • Loading branch information
DaniloSI committed Mar 12, 2024
1 parent 76d77a7 commit 3671ced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Modal/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const modalTheme: FlowbiteModalTheme = {
},
content: {
base: 'relative h-full w-full p-4 md:h-auto',
inner: 'relative rounded-lg bg-white shadow dark:bg-gray-700 flex flex-col max-h-[90vh]',
inner: 'relative rounded-lg bg-white shadow dark:bg-gray-700 flex flex-col max-h-[90dvh]',
},
body: {
base: 'p-6 flex-1 overflow-auto',
Expand Down

0 comments on commit 3671ced

Please sign in to comment.