Skip to content

Commit

Permalink
fix(modal): set the min-height of base height to 100dvh where size eq…
Browse files Browse the repository at this point in the history
…uals "full"
  • Loading branch information
HydenLiu committed Apr 11, 2024
1 parent ebab108 commit c965fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/theme/src/components/modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const modal = tv({
base: "max-w-5xl",
},
full: {
base: "my-0 mx-0 sm:mx-0 sm:my-0 max-w-full h-[100dvh] !rounded-none",
base: "my-0 mx-0 sm:mx-0 sm:my-0 max-w-full h-[100dvh] min-h-[100dvh] !rounded-none",
},
},
radius: {
Expand Down

0 comments on commit c965fec

Please sign in to comment.