fix bug
This commit is contained in:
@@ -13,7 +13,7 @@ export const SidebarItem: FC<Props> = ({ item }) => {
|
||||
"bg-secondary-color": item?.route === pathname
|
||||
})}>
|
||||
{item?.route === pathname ? item?.activeIcon : item?.icon}
|
||||
<p className={clsx("font-normal text-base text-secondary-text-color", {
|
||||
<p className={clsx("font-normal text-sm text-secondary-text-color", {
|
||||
"!text-primary-text-color": item?.route === pathname
|
||||
})}>{item?.title}</p>
|
||||
</Link>
|
||||
|
||||
@@ -11,10 +11,10 @@ export const Sidebar = () => {
|
||||
navigate("/auth/login")
|
||||
}
|
||||
return (
|
||||
<div className="hidden lg:flex bg-auth-form min-w-[318px] max-w-[318px] flex-col items-center py-[42px] gap-y-20">
|
||||
<div className="hidden lg:flex bg-auth-form min-w-[250px] max-w-[318px] flex-col items-center py-[42px] gap-y-20">
|
||||
<img src="/svgs/logo/logo.svg" alt="logo" className="auth-logo-size" />
|
||||
<div className="flex flex-col justify-between h-full bg-auth-form ">
|
||||
<div className="flex flex-col gap-y-3">
|
||||
<div className="flex text-xs flex-col gap-y-3">
|
||||
{sidebarItems?.map((item: SidebarInterface) => <SidebarItem key={item?.name} item={item} />)}
|
||||
</div>
|
||||
<div className="w-full flex flex-row gap-x-3 items-center rounded-[20px] p-3 min-w-52 cursor-pointer" onClick={handleExit}>
|
||||
|
||||
Reference in New Issue
Block a user