Skip to content

Commit

Permalink
fix: modal max width on mobile (#2328)
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-mesnil committed Oct 10, 2023
1 parent ed323e6 commit 3988a01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/Modal/src/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const Dialog = styled(Ariakit.Dialog)(
align-self: center;
height: 100%;
max-height: 100%;
max-width: 100%;
overflow: auto;
opacity: 0;
transition: opacity 250ms ease-in-out, margin-top 250ms ease-in-out;
Expand Down

0 comments on commit 3988a01

Please sign in to comment.