Skip to content

Commit

Permalink
fixed bottom bar not expanding
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivaBhattacharjee committed Nov 13, 2023
1 parent 2749e6e commit e51eab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/shared/navigation/SideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const SideBar = () => {
</div>
{/* mobile bottom bar */}
<div ref={sidebarRef} className={`text-white fixed bottom-0 md:hidden z-20 bg-black/50 rounded-t-xl border-t-2 border-white/25 backdrop-blur-md w-full p-2 duration-200 transition-all`}>
<div className="flex items-center justify-between ">
<div className="flex items-center justify-between flex-wrap ">
{NavItems.slice(0, expand ? NavItems.length : 3).map((link) => {
const isActive = (pathname.includes(link.route) && link.route.length > 1) || pathname === link.route;
const shouldRender = !(link.name === "History" || link.name === "Bookmark") || token;
Expand Down

0 comments on commit e51eab6

Please sign in to comment.