From c7378e78d9513600887f5fa982cde8b4bcd6cf11 Mon Sep 17 00:00:00 2001 From: boojack Date: Mon, 17 Oct 2022 18:43:02 +0800 Subject: [PATCH] chore: update mask animation styles (#306) --- web/src/less/siderbar.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/less/siderbar.less b/web/src/less/siderbar.less index 5d38d30d..6c8070d4 100644 --- a/web/src/less/siderbar.less +++ b/web/src/less/siderbar.less @@ -22,9 +22,9 @@ } .mask { - @apply fixed top-0 right-0 w-screen h-screen bg-transparent transition-all duration-300 z-0 sm:hidden; + @apply fixed top-0 left-0 w-screen h-screen bg-black opacity-0 transition-opacity duration-300 pointer-events-none z-20 sm:hidden; &.show { - @apply z-20 bg-black opacity-60; + @apply opacity-60 pointer-events-auto; } }