Skip to content

Commit

Permalink
fix immersive styles
Browse files Browse the repository at this point in the history
  • Loading branch information
sirineJ committed Dec 11, 2024
1 parent 9704001 commit 8a5f76d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/circuit-ui/components/Modal/Modal.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,14 @@
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
opacity: 0;
transition: transform var(--cui-transitions-slow);
transition:
transform var(--cui-transitions-slow),
visibility var(--cui-transitions-slow),
opacity var(--cui-transitions-slow);
transform: translateY(100%);
}

.dialog.show {
visibility: visible;
opacity: 1;
transform: translateY(0%);
}
}
Expand Down Expand Up @@ -126,6 +127,7 @@
}

.immersive .content {
height: 100%;
border: none;
border-radius: unset;
}
Expand All @@ -140,8 +142,6 @@

@media (max-width: 479px) {
.content {
width: 100%;
height: 100%;
padding: var(--cui-spacings-mega);
padding-bottom: calc(
env(safe-area-inset-bottom) + var(--cui-spacings-mega)
Expand Down

0 comments on commit 8a5f76d

Please sign in to comment.