Created
June 21, 2015 06:10
-
-
Save jdnichollsc/1b0112dfdca4b7f06fbe to your computer and use it in GitHub Desktop.
Change size of modal dialog in Ionic Framework
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
<ion-modal-view class="mymodal"> | |
... | |
</ion-modal-view> |
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 (min-width: 680px) { | |
.mymodal { | |
width: 90%; | |
height: 90%; | |
top: 5%; | |
left: 5%; | |
right: 5%; | |
bottom: 5%; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment