Reduz logo colapsado na sidebar
This commit is contained in:
parent
2334e9a9ec
commit
0dd9f10984
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(
|
||||
"flex shrink-0 items-center justify-center transition-all duration-200 ease-linear",
|
||||
isCollapsed ? "size-16" : "size-14"
|
||||
isCollapsed ? "size-12" : "size-14"
|
||||
)}>
|
||||
<Image
|
||||
src={logoSrc}
|
||||
|
|
@ -48,7 +48,7 @@ export function SidebarBrand({ logoSrc, logoAlt, title, subtitle, showTitle = tr
|
|||
height={64}
|
||||
className={cn(
|
||||
"object-contain transition-all duration-200 ease-linear",
|
||||
isCollapsed ? "size-16" : "size-14"
|
||||
isCollapsed ? "size-12" : "size-14"
|
||||
)}
|
||||
priority
|
||||
/>
|
||||
|
|
@ -76,7 +76,7 @@ export function SidebarBrand({ logoSrc, logoAlt, title, subtitle, showTitle = tr
|
|||
<SidebarMenuButton
|
||||
asChild
|
||||
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-16! 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-12! group-data-[collapsible=icon]:p-0!"
|
||||
>
|
||||
{brandContent}
|
||||
</SidebarMenuButton>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue