Ajusta tamanho do logo colapsado
All checks were successful
CI/CD Web + Desktop / Detect changes (push) Successful in 7s
CI/CD Web + Desktop / Deploy (VPS Linux) (push) Successful in 3m46s
CI/CD Web + Desktop / Deploy Convex functions (push) Has been skipped
Quality Checks / Lint, Test and Build (push) Successful in 3m59s

This commit is contained in:
rever-tecnologia 2025-12-19 08:07:11 -03:00
parent 0dd9f10984
commit a43151f84f

View file

@ -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-12" : "size-14"
isCollapsed ? "size-10" : "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-12" : "size-14"
isCollapsed ? "size-10" : "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-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}
</SidebarMenuButton>