Skip to content

Commit

Permalink
navbar fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartikey2011yadav committed Oct 7, 2024
1 parent bac86b9 commit 03eb481
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Sidebar/Sidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const Sidebar = () => {

return (
<div
className={` dark:bg-black bg-zinc-200 min-h-screen ${open ? 'w-55' : 'w-16'} duration-500 text-gray-100 px-4 flex flex-col`}
className={` flex dark:bg-black bg-zinc-200 flex-col min-h-screen ${open ? 'w-55' : 'w-16'} duration-500 text-gray-100 px-4`}
>
<div className=" items-end fixed">
<div className={`py-3 flex ${open ? 'justify-end' : 'justify-start pl-2'}`}>
Expand Down Expand Up @@ -108,7 +108,6 @@ const Sidebar = () => {
))}
</div>
</div>

<div
className={` fixed bottom-3 ${open ? 'w-50' : 'w-10'}`}
style={{
Expand Down Expand Up @@ -141,6 +140,11 @@ const Sidebar = () => {
</h2>
</Link>
</div>
<div className="">
<div
className={`fixed h-15 -z-1 bottom-0 left-0 dark:bg-black bg-white ${open ? 'w-55' : 'w-16'} duration-500`}
/>
</div>
<AlertModal
isOpen={modalOpen}
onClose={closeModal}
Expand Down

0 comments on commit 03eb481

Please sign in to comment.