Ajusta tamanho do logo colapsado
All checks were successful
All checks were successful
This commit is contained in:
parent
0dd9f10984
commit
a43151f84f
1 changed files with 3 additions and 3 deletions
|
|
@ -39,7 +39,7 @@ export function SidebarBrand({ logoSrc, logoAlt, title, subtitle, showTitle = tr
|
||||||
>
|
>
|
||||||
<div className={cn(
|
<div className={cn(
|
||||||
"flex shrink-0 items-center justify-center transition-all duration-200 ease-linear",
|
"flex shrink-0 items-center justify-center transition-all duration-200 ease-linear",
|
||||||
isCollapsed ? "size-12" : "size-14"
|
isCollapsed ? "size-10" : "size-14"
|
||||||
)}>
|
)}>
|
||||||
<Image
|
<Image
|
||||||
src={logoSrc}
|
src={logoSrc}
|
||||||
|
|
@ -48,7 +48,7 @@ export function SidebarBrand({ logoSrc, logoAlt, title, subtitle, showTitle = tr
|
||||||
height={64}
|
height={64}
|
||||||
className={cn(
|
className={cn(
|
||||||
"object-contain transition-all duration-200 ease-linear",
|
"object-contain transition-all duration-200 ease-linear",
|
||||||
isCollapsed ? "size-12" : "size-14"
|
isCollapsed ? "size-10" : "size-14"
|
||||||
)}
|
)}
|
||||||
priority
|
priority
|
||||||
/>
|
/>
|
||||||
|
|
@ -76,7 +76,7 @@ export function SidebarBrand({ logoSrc, logoAlt, title, subtitle, showTitle = tr
|
||||||
<SidebarMenuButton
|
<SidebarMenuButton
|
||||||
asChild
|
asChild
|
||||||
size="lg"
|
size="lg"
|
||||||
className="h-auto cursor-default select-none hover:bg-transparent hover:text-inherit active:bg-transparent active:text-inherit focus-visible:ring-0 group-data-[collapsible=icon]:size-12! group-data-[collapsible=icon]:p-0!"
|
className="h-auto cursor-default select-none hover:bg-transparent hover:text-inherit active:bg-transparent active:text-inherit focus-visible:ring-0 group-data-[collapsible=icon]:size-10! group-data-[collapsible=icon]:p-0!"
|
||||||
>
|
>
|
||||||
{brandContent}
|
{brandContent}
|
||||||
</SidebarMenuButton>
|
</SidebarMenuButton>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue