Ionic modal popup style

#1

How to change the modalpop 's size ,i wants modal box to be opened within the page! is there any solutions

#2

.ts

this.modalCtrl.create(modalName, params, {cssClass: 'modal-container-name'});

.scss

.modal-container-name {
  .modal-wrapper {
    margin-top: 20%;
    margin-right: 5%;
    width: 90% !important;
    height: 50% !important;
  }
}
#3

oh thank you such for your reply,i will try it now & tell you @avishai_peretz_dev

1 Like