fix notifs' shadow peeking in when closed on mobile

This commit is contained in:
Henry Jameson 2022-04-10 14:23:03 +03:00
parent 5b47856329
commit 4750d9bb4c
1 changed files with 3 additions and 2 deletions

View File

@ -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;
}
}