Skip to content

Commit

Permalink
[opt]: sidebar close btn for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
stone1100 committed Jun 26, 2024
1 parent 4f059fa commit 4db5979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export const NavSidebar: React.FC<{
<button
onClick={() => setOpen(false)}
type="button"
className="fixed right-5 top-5 z-10 flex size-8 items-center justify-center text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-slate-300"
className="fixed left-40 top-4 z-10 flex size-8 items-center justify-center text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-slate-300"
>
<span className="sr-only">Close navigation</span>
<XMarkIcon className="size-5" />
Expand Down

0 comments on commit 4db5979

Please sign in to comment.