aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-04-10 14:23:03 +0300
committerHenry Jameson <me@hjkos.com>2022-04-10 14:23:03 +0300
commit4750d9bb4c67b5a759a1eb0fde64d0270553e74c (patch)
tree36078acffcb520c45ca24946aa00c099c6cf14aa /src
parent5b478563296f7ebd5eef40d118d71fdb70f460b0 (diff)
fix notifs' shadow peeking in when closed on mobile
Diffstat (limited to 'src')
-rw-r--r--src/components/mobile_nav/mobile_nav.vue5
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;
}
}