change size icon in panel page
This commit is contained in:
@@ -37,12 +37,12 @@ function Links({ open }) {
|
||||
fullWidth
|
||||
variant="text"
|
||||
className={`
|
||||
!p-[8px] !flex !items-center !justify-start !gap-[8px] !text-[16px] !rounded-[8px] !transition-all !duration-500
|
||||
${item.src === pathname ? "!bg-[#5559CE]" : ""}
|
||||
`}
|
||||
!p-[8px] !flex !items-center !justify-start !gap-[8px] !text-[16px] !rounded-[8px] !transition-all !duration-500
|
||||
${item.src === pathname ? "!bg-[#5559CE]" : ""}
|
||||
`}
|
||||
>
|
||||
<div className="p-[4px] bg-[#E5E9FF] rounded-[4px] w-fit">
|
||||
{item.icon}
|
||||
<div className="p-[3px] bg-[#E5E9FF] rounded-[4px] w-fit">
|
||||
<div className="w-[20px] h-[20px]">{item.icon}</div>
|
||||
</div>
|
||||
<p
|
||||
className={`
|
||||
|
||||
@@ -10,7 +10,7 @@ function Sidebar({ active, setActive, open, setOpen }) {
|
||||
className={`
|
||||
transition-all duration-500 md:flex fixed md:relative z-30 w-[85%]
|
||||
${active ? " right-0" : "right-[-85%]"}
|
||||
${open ? "min-w-[243px] md:w-[243px]" : "min-w-[96px] md:w-[96px]"}
|
||||
${open ? "min-w-[243px] md:w-[243px]" : "min-w-[92px] md:w-[92px]"}
|
||||
`}
|
||||
>
|
||||
<aside
|
||||
@@ -18,7 +18,7 @@ function Sidebar({ active, setActive, open, setOpen }) {
|
||||
relative h-screen overflow-hidden
|
||||
transition-all duration-500 w-[85%]
|
||||
${active ? " right-0" : "right-[-85%]"}
|
||||
${open ? "w-[243px]" : "w-[96px]"}
|
||||
${open ? "w-[243px]" : "w-[92px]"}
|
||||
`}
|
||||
>
|
||||
<div
|
||||
@@ -28,7 +28,7 @@ function Sidebar({ active, setActive, open, setOpen }) {
|
||||
overflow-hidden p-[24px] h-full flex flex-col justify-between items-start fixed
|
||||
border-0 border-l border-l-[#EFEFEF] bg-[#FFF]
|
||||
transition-all duration-500
|
||||
${open ? "md:w-[243px]" : "md:w-[96px]"}
|
||||
${open ? "md:w-[243px]" : "md:w-[92px]"}
|
||||
`}
|
||||
>
|
||||
<div className="w-full">
|
||||
|
||||
Reference in New Issue
Block a user