diff --git a/src/app/pages/events/events.page.html b/src/app/pages/events/events.page.html index 830847aba..7ce9f393c 100644 --- a/src/app/pages/events/events.page.html +++ b/src/app/pages/events/events.page.html @@ -27,8 +27,8 @@ -
-
+
+
@@ -42,7 +42,7 @@ >
-
+
@@ -82,7 +82,7 @@
-
+
@@ -92,7 +92,7 @@
-
+
diff --git a/src/app/pages/events/events.page.scss b/src/app/pages/events/events.page.scss index 1343febc9..9434c2c5b 100644 --- a/src/app/pages/events/events.page.scss +++ b/src/app/pages/events/events.page.scss @@ -325,17 +325,21 @@ ion-toolbar{ display: flex; flex-wrap: wrap; justify-content: center; + padding-bottom: 20px; } .schedule { max-width: 400px; font-family: Roboto; - margin: 10px 0px; padding: 20px; background-color: white; - box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.07); + box-shadow: 0 0 10px 0 rgb(0 0 0 / 7%); border: solid 1px #e9e9e9; margin-bottom: 20px; border-radius: 25px; + display: flex; + flex-direction: column; + max-height: 100%; + .schedule-header{ display: flex; margin-bottom: 20px; @@ -473,6 +477,18 @@ ion-toolbar{ } + + +@media only screen and (max-width: 856px) { + + .content, .conteiner-box{ + height: unset !important; + max-height: unset !important; + } + +} + + @media only screen and (min-width: 804px) { .schedule:first-child { diff --git a/src/app/services/notifications.service.ts b/src/app/services/notifications.service.ts index feb297b5b..d04433176 100644 --- a/src/app/services/notifications.service.ts +++ b/src/app/services/notifications.service.ts @@ -44,10 +44,9 @@ export class NotificationsService { this.storageService.get("Notifications").then((value) => { - if(value == 'žée') { - this.storageService.store("Notifications", []) - } - + }).catch(()=>{ + + this.storageService.store("Notifications",[]) }) } diff --git a/src/app/services/storage.service.ts b/src/app/services/storage.service.ts index ba4feb1b0..37bb2b92b 100644 --- a/src/app/services/storage.service.ts +++ b/src/app/services/storage.service.ts @@ -45,6 +45,9 @@ const { Storage } = Plugins; */ try { return JSON.parse(unescape(atob(ret))); } catch (error) { + if(ret == 'žée') { + throw(key+' not found') + } return unescape(atob(ret)) } }