Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: update mask animation styles (#306)

boojackc7378e78d951
diff --git a/web/src/less/siderbar.less b/web/src/less/siderbar.less
index 5d38d30da..6c8070d49 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;
}
}