Skip to content

Commit

Permalink
Gave the sidebar toggle an absolute position within the header.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisForti committed Jul 18, 2024
1 parent 55f79dd commit a0eee61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export function Sidebar() {
<button
className="bg-black p-2 text-white md:hidden"
onClick={toggleSidebar}
style={{ position: "absolute", top: "1.5rem", right: "2rem" }}
>
Sidebar
</button>
Expand Down

0 comments on commit a0eee61

Please sign in to comment.