Skip to content

Commit

Permalink
🐛 fix: sidebar width mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
nxhawk committed Oct 28, 2024
1 parent ad73471 commit 55eab27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layout/SideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const SideBar = ({ isOpen }: Props) => {
];

function returnWidth() {
if (isMobile) return "40px";
if (isMobile) return "42px";
if (isOpen || isHovered) return "260px";
return "60px";
}
Expand Down

0 comments on commit 55eab27

Please sign in to comment.