MOBILE-1973 quiz: Make the navigation modal lateral
parent
d129c23d54
commit
f78f3cddc7
|
@ -94,7 +94,7 @@ export class AddonModQuizPlayerPage implements OnInit, OnDestroy {
|
||||||
// Create the navigation modal.
|
// Create the navigation modal.
|
||||||
this.navigationModal = modalCtrl.create('AddonModQuizNavigationModalPage', {
|
this.navigationModal = modalCtrl.create('AddonModQuizNavigationModalPage', {
|
||||||
page: this
|
page: this
|
||||||
});
|
}, { cssClass: 'core-modal-lateral' });
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -721,13 +721,22 @@ ion-app.app-root {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.core-modal-fullscreen {
|
.core-modal-fullscreen .modal-wrapper {
|
||||||
.modal-wrapper {
|
position: absolute;
|
||||||
position: absolute;
|
@include position(0 !important, null, null, 0 !important);
|
||||||
@include position(0 !important, null, null, 0 !important);
|
display: block;
|
||||||
display: block;
|
width: 100% !important;
|
||||||
width: 100% !important;
|
height: 100% !important;
|
||||||
height: 100% !important;
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-height: 600px) and (min-width: 768px) {
|
||||||
|
.core-modal-lateral .modal-wrapper {
|
||||||
|
position: absolute;
|
||||||
|
@include position(0 !important, 0 !important, 0 !important, auto);
|
||||||
|
display: block;
|
||||||
|
height: 100% !important;
|
||||||
|
width: auto;
|
||||||
|
min-width: 400px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue