From 7044c497a24984e47c66cd5b2afe705a1ab1e7ac Mon Sep 17 00:00:00 2001 From: negue Date: Thu, 21 Oct 2021 22:17:09 +0200 Subject: [PATCH] FIX: notifications position with 2nd banner - WIP (#13556) * FIX: notifications position with 2nd banner * emit event when worldState is loaded * fix heights / padding of notifications --- .../src/components/header/banners/base.vue | 17 +++-- .../header/notifications/worldBoss.vue | 8 ++- .../src/components/payments/buyGemsModal.vue | 7 ++- .../src/components/shops/market/index.vue | 15 ++++- .../src/components/shops/quests/index.vue | 5 +- .../src/components/shops/seasonal/index.vue | 7 ++- .../components/snackbars/notifications.vue | 63 +++++++++++++++---- website/client/src/libs/banner.func.js | 28 +++++++++ website/client/src/libs/events.js | 3 + website/client/src/mixins/worldState.js | 15 +++++ 10 files changed, 138 insertions(+), 30 deletions(-) create mode 100644 website/client/src/libs/banner.func.js create mode 100644 website/client/src/mixins/worldState.js diff --git a/website/client/src/components/header/banners/base.vue b/website/client/src/components/header/banners/base.vue index 376c0905ca..fe5c6a98de 100644 --- a/website/client/src/components/header/banners/base.vue +++ b/website/client/src/components/header/banners/base.vue @@ -50,6 +50,10 @@ body.modal-open .habitica-top-banner {