Improve responsiveness

This commit is contained in:
Peter Maquiran
2021-05-07 16:57:53 +01:00
parent d4d00ee361
commit 5f48fc3a56
11 changed files with 18 additions and 50 deletions
@@ -128,12 +128,7 @@ export class PendentesPage implements OnInit {
}
async openDespacho(serialNumber:string){
let classs;
if( window.innerWidth <= 800){
classs = 'modal'
} else {
classs = 'modal modal-desktop'
}
const modal = await this.modalController.create({
component: DespachoPage,
componentProps:{
@@ -141,7 +136,7 @@ export class PendentesPage implements OnInit {
serialNumber: serialNumber,
profile: this.profile,
},
cssClass: classs,
cssClass: 'modal modal-desktop',
});
await modal.present();
modal.onDidDismiss().then((res)=>{