Skip to content

Commit 4a15276

Browse files
committed
feat: enhance MobileSidebar styling with sticky positioning and border
1 parent 2995d16 commit 4a15276

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/ui/sidebar.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ export const MobileSidebar = ({
114114
<>
115115
<div
116116
className={cn(
117-
"h-10 px-4 py-4 flex flex-row md:hidden items-center justify-between bg-neutral-100 dark:bg-neutral-800 w-full"
117+
"h-10 px-4 py-4 flex flex-row md:hidden items-center justify-between",
118+
"bg-neutral-100 dark:bg-neutral-800 w-full",
119+
"sticky top-0 inset-x-0 z-40 border-b border-neutral-200 dark:border-neutral-700"
118120
)}
119121
{...props}
120122
>

0 commit comments

Comments
 (0)