Skip to content

Commit

Permalink
fix mobile width
Browse files Browse the repository at this point in the history
  • Loading branch information
sirineJ committed Dec 20, 2024
1 parent 2e24a46 commit b20f528
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/circuit-ui/components/Modal/Modal.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
bottom: 0;
left: 0;
width: 100%;
max-width: 100%;
max-width: 100vw;
border-radius: var(--cui-border-radius-mega) var(--cui-border-radius-mega) 0
0;
animation: slide-out var(--dialog-animation-duration) forwards;
Expand All @@ -122,6 +122,8 @@
}

.base .content {
width: 100%;
max-width: 100vw;
padding: var(--cui-spacings-mega);
padding-bottom: calc(
env(safe-area-inset-bottom) + var(--cui-spacings-mega)
Expand Down

0 comments on commit b20f528

Please sign in to comment.