diff options
| author | Henry Jameson <me@hjkos.com> | 2022-04-10 14:23:03 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-04-10 14:23:03 +0300 |
| commit | 4750d9bb4c67b5a759a1eb0fde64d0270553e74c (patch) | |
| tree | 36078acffcb520c45ca24946aa00c099c6cf14aa | |
| parent | 5b478563296f7ebd5eef40d118d71fdb70f460b0 (diff) | |
fix notifs' shadow peeking in when closed on mobile
| -rw-r--r-- | src/components/mobile_nav/mobile_nav.vue | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/mobile_nav/mobile_nav.vue b/src/components/mobile_nav/mobile_nav.vue index 6c810bba..4976105d 100644 --- a/src/components/mobile_nav/mobile_nav.vue +++ b/src/components/mobile_nav/mobile_nav.vue @@ -51,7 +51,7 @@ <div v-if="currentUser" class="mobile-notifications-drawer" - :class="{ 'closed': !notificationsOpen }" + :class="{ '-closed': !notificationsOpen }" @touchstart.stop="notificationsTouchStart" @touchmove.stop="notificationsTouchMove" > @@ -148,8 +148,9 @@ z-index: 1001; -webkit-overflow-scrolling: touch; - &.closed { + &.-closed { transform: translateX(100%); + box-shadow: none; } } |
