Created
May 2, 2021 08:05
-
-
Save yonixw/1454218d6aa223625fd5d99dda59a1d9 to your computer and use it in GitHub Desktop.
antd full screen dialog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media screen and (max-width: 800px) { | |
.ant-modal-mask { | |
animation-duration: 0s !important; /* fade */ | |
} | |
.ant-modal-content { | |
height: 100%; | |
} | |
.ant-modal { | |
animation-duration: 0s !important; /* zoom */ | |
position: fixed; | |
display: contents; | |
margin: 0; | |
padding: 0; | |
bottom: 0; | |
right: 0; | |
top: 0; | |
left: 0; | |
width: 100vw; | |
height: 100vh; | |
min-height: 100vh; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment