Having trouble resizing my Ionic modal to full screen for just one modal, as Ionic's default settings are overriding any custom changes. I've attempted the following code snippet:
@media only screen and (orientation: landscape) {
ion-modal {
.modal-wrapper {
position: absolute;
top: 0 !important;
left: 0 !important;
display: block;
width: 100% !important;
height: 100% !important;
}
}
}
However, placing this code within my page's scope has no effect, but moving it outside affects all modals in the app. I've explored various solutions online without success. Any assistance with this issue would be greatly appreciated. Thank you.