commit: 4750d9bb4c67b5a759a1eb0fde64d0270553e74c
parent 5b478563296f7ebd5eef40d118d71fdb70f460b0
Author: Henry Jameson <me@hjkos.com>
Date: Sun, 10 Apr 2022 14:23:03 +0300
fix notifs' shadow peeking in when closed on mobile
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git 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;
}
}