aboutsummaryrefslogtreecommitdiff
path: root/apps/web/src/components/Sidebar
diff options
context:
space:
mode:
authorYash <[email protected]>2024-04-02 17:34:13 +0000
committerYash <[email protected]>2024-04-02 17:34:13 +0000
commit61fdc548c5782703a7578a0da1cce1783fd72335 (patch)
treea81c2364c4265b2bd445ecfb54a904c3b6afbd78 /apps/web/src/components/Sidebar
parentfix props (diff)
downloadsupermemory-61fdc548c5782703a7578a0da1cce1783fd72335.tar.xz
supermemory-61fdc548c5782703a7578a0da1cce1783fd72335.zip
responsiveness and phone memory drawer
Diffstat (limited to 'apps/web/src/components/Sidebar')
-rw-r--r--apps/web/src/components/Sidebar/index.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/src/components/Sidebar/index.tsx b/apps/web/src/components/Sidebar/index.tsx
index 214ba816..1680000b 100644
--- a/apps/web/src/components/Sidebar/index.tsx
+++ b/apps/web/src/components/Sidebar/index.tsx
@@ -47,7 +47,7 @@ export default function Sidebar({
return (
<>
- <div className="bg-rgray-2 border-r-rgray-6 flex h-screen max-h-screen w-max flex-col items-center border-r px-2 py-5 text-sm font-light">
+ <div className="bg-rgray-2 border-r-rgray-6 hidden h-screen max-h-screen w-max flex-col items-center border-r px-2 py-5 text-sm font-light md:flex">
{menuItemsTop.map((item, index) => (
<MenuItem
key={index}
@@ -96,7 +96,7 @@ const MenuItem = ({
export function SubSidebar({ children }: { children?: React.ReactNode }) {
return (
- <div className="bg-rgray-3 border-r-rgray-6 flex h-screen w-[50vw] flex-col items-center border-r font-light">
+ <div className="bg-rgray-3 border-r-rgray-6 hidden h-screen w-[50vw] flex-col items-center border-r font-light md:flex">
{children}
</div>
);