Skip to content

Commit

Permalink
feat(modal): start of inset modals
Browse files Browse the repository at this point in the history
start of inset modals
  • Loading branch information
danbucholtz committed May 13, 2016
1 parent 809dc47 commit a1a594d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ionic/components/modal/modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,22 @@ ion-page.modal {

// hidden by default to prevent flickers, the animation will show it
transform: translate3d(0, 100%, 0);

@media only screen and (min-width: 768px) and (min-height: 600px){
position: absolute;
top: calc(50% - 250px);
left: calc(50% - 300px);

width: 600px;
height: 500px;
}

@media only screen and (min-width: 768px) and (min-height: 768px){
position: absolute;
top: calc(50% - 300px);
left: calc(50% - 300px);

width: 600px;
height: 600px;
}
}

0 comments on commit a1a594d

Please sign in to comment.