mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
27 lines
450 B
SCSS
27 lines
450 B
SCSS
ion-view,
|
|
.ion-view {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
background-color: white;
|
|
|
|
// by default this is display: none;
|
|
// and the transition animation will display it
|
|
//display: none;
|
|
flex-direction: column;
|
|
|
|
display: flex;
|
|
|
|
/*
|
|
TODO: This is probably not the most common case,
|
|
should be display flex first, then remove for special cases.
|
|
&.show-view {
|
|
display: flex;
|
|
}
|
|
*/
|
|
|
|
}
|