|
|
@ -23,7 +23,7 @@ const SidebarMenu = ({ items, buttons, username, userJob, className }) => { |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div |
|
|
|
<div |
|
|
|
className={`${className} w-fit bg-white p-5 h-screen shadow-sm border border-gray-300 rounded overflow-y-scroll no-scrollbar relative`} |
|
|
|
className={`${className} w-fit bg-white p-5 h-screen overflow-y-auto scrollYDesign shadow-sm border border-gray-300 rounded relative`} |
|
|
|
> |
|
|
|
> |
|
|
|
{/* profile */} |
|
|
|
{/* profile */} |
|
|
|
<div className="flex flex-row items-center"> |
|
|
|
<div className="flex flex-row items-center"> |
|
|
@ -90,9 +90,9 @@ const SidebarMenu = ({ items, buttons, username, userJob, className }) => { |
|
|
|
menuItem.menuSubItems.map((menuSubItem, j) => ( |
|
|
|
menuItem.menuSubItems.map((menuSubItem, j) => ( |
|
|
|
<div |
|
|
|
<div |
|
|
|
key={j} |
|
|
|
key={j} |
|
|
|
className="flex flex-row items-center transition duration-300 ease-linear" |
|
|
|
className="flex w-10/12 flex-row items-center transition duration-300 ease-linear" |
|
|
|
style={{ |
|
|
|
style={{ |
|
|
|
transform: "translate(-8%,-10px)", |
|
|
|
transform: "translate(-11%,-9px)", |
|
|
|
}} |
|
|
|
}} |
|
|
|
> |
|
|
|
> |
|
|
|
<div className=" transition duration-300 ease-linear text-gray-400 border-r-2 border-gray-300"> |
|
|
|
<div className=" transition duration-300 ease-linear text-gray-400 border-r-2 border-gray-300"> |
|
|
@ -125,10 +125,10 @@ const SidebarMenu = ({ items, buttons, username, userJob, className }) => { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
))} |
|
|
|
))} |
|
|
|
{/* blue left border */} |
|
|
|
{/* blue left border */} |
|
|
|
<div |
|
|
|
{/* <div |
|
|
|
style={{ bottom: "15%" }} |
|
|
|
style={{ bottom: "15%" }} |
|
|
|
className="absolute left-0.5 transform -translate-x-1/2 -translate-y-1/2 bg-blue-600 w-1 h-20 rounded" |
|
|
|
className="absolute left-0.5 transform -translate-x-1/2 -translate-y-1/2 bg-blue-600 w-1 h-20 rounded" |
|
|
|
></div> |
|
|
|
></div> */} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
); |
|
|
|
); |
|
|
|
}; |
|
|
|
}; |
|
|
|