From af98bc2973eed8eb08927df866bc29ecae659d44 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 21 Jun 2022 01:03:20 +0300 Subject: [PATCH 1/3] don't use async component for user popover to fix the incorrect initial position. for some reason same doesn't work with status popover... --- src/components/user_popover/user_popover.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/user_popover/user_popover.js b/src/components/user_popover/user_popover.js index bffd59625..962ae6a09 100644 --- a/src/components/user_popover/user_popover.js +++ b/src/components/user_popover/user_popover.js @@ -1,3 +1,4 @@ +import UserCard from '../user_card/user_card.vue' import { defineAsyncComponent } from 'vue' const UserPopover = { @@ -6,7 +7,7 @@ const UserPopover = { 'userId', 'overlayCenters', 'disabled' ], components: { - UserCard: defineAsyncComponent(() => import('../user_card/user_card.vue')), + UserCard, Popover: defineAsyncComponent(() => import('../popover/popover.vue')) } } From 78ced0c901d255bf99e096339da945b1b3cc0216 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 21 Jun 2022 01:05:42 +0300 Subject: [PATCH 2/3] proper horizontal limit --- src/components/popover/popover.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/popover/popover.vue b/src/components/popover/popover.vue index 5c45be735..0d37328e5 100644 --- a/src/components/popover/popover.vue +++ b/src/components/popover/popover.vue @@ -46,7 +46,7 @@ z-index: 90000; position: fixed; min-width: 0; - max-width: 90vw; + max-width: calc(100vw - 20px); box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5); box-shadow: var(--popupShadow); } From 3d4d694b493b9a0785462d1d5f57aec6411ecc0a Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 21 Jun 2022 01:07:32 +0300 Subject: [PATCH 3/3] don't stop propagation on settings modal open --- src/components/desktop_nav/desktop_nav.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/desktop_nav/desktop_nav.vue b/src/components/desktop_nav/desktop_nav.vue index bab3ca819..f352c78c7 100644 --- a/src/components/desktop_nav/desktop_nav.vue +++ b/src/components/desktop_nav/desktop_nav.vue @@ -38,7 +38,7 @@ />