Skip to content

Commit

Permalink
Merge pull request #3 from Ibinola/fix/side-bar-height
Browse files Browse the repository at this point in the history
fix sidebar height
  • Loading branch information
Ibinola authored Sep 10, 2024
2 parents eefa6c2 + 55283e2 commit 24cb01f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Sidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { CiSettings } from "react-icons/ci";
function Sidebar({ isOpen, toggleSidebar }) {
return (
<div
className={`fixed inset-y-0 left-0 w-52 h-screen bg-white shadow-md transform transition-transform duration-300 lg:static lg:translate-x-0 ${
className={`fixed inset-y-0 left-0 w-52 min-h-screen bg-white shadow-md transform transition-transform duration-300 lg:static lg:translate-x-0 ${
isOpen ? "translate-x-0" : "-translate-x-full"
} z-50 lg:z-auto`}
>
Expand Down

0 comments on commit 24cb01f

Please sign in to comment.