Fix mobile dialog styling (#1363)

This commit is contained in:
Jed Fox 2020-04-10 11:13:31 -04:00 committed by GitHub
parent f134211bf9
commit 16a3aa7561
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 6 deletions

View file

@ -28,12 +28,16 @@
position: relative;
z-index: 2;
width: 100%;
max-width: 100%;
max-width: var(--max-width);
opacity: 0;
transform: translateY(10px);
animation: Modal__content_fade-in 0.1s ease-out 0.05s forwards;
position: relative;
@media #{$media-query} {
max-width: 100%;
}
}
@keyframes Modal__content_fade-in {