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.

fix: can not click sidebar (#289)

Hyoban65a61ed2701e
diff --git a/web/src/components/Sidebar.tsx b/web/src/components/Sidebar.tsx
index d878eb47b..460712c4c 100644
--- a/web/src/components/Sidebar.tsx
+++ b/web/src/components/Sidebar.tsx
@@ -26,6 +26,7 @@ const Sidebar = () => {
return (
<>
+ <div className="mask" onClick={() => toggleSiderbar(false)}></div>
<aside className="sidebar-wrapper">
<UserBanner />
<UsageHeatMap />
@@ -47,7 +48,6 @@ const Sidebar = () => {
{!userService.isVisitorMode() && <ShortcutList />}
<TagList />
</aside>
- <div className="mask" onClick={() => toggleSiderbar(false)}></div>
</>
);
};