fix(ui): use z-raised instead of z-10 in SidebarFooter

z-10 is a hand-picked z-index, banned by local/no-ad-hoc-z-index lint rule.
z-raised (z-index: 1) is the correct scale token from globals.css.
This commit is contained in:
KenEzekiel 2026-09-17 08:38:12 +07:00
parent e2e07a1099
commit ea725ca301

View file

@ -64,7 +64,10 @@ const SidebarFooter = React.forwardRef<HTMLDivElement, React.ComponentPropsWitho
<div
ref={ref}
data-slot="sidebar-footer"
className={cn("relative z-10 flex flex-none flex-col gap-2.5 border-t border-sidebar-border bg-sidebar p-3", className)}
className={cn(
"relative z-raised flex flex-none flex-col gap-2.5 border-t border-sidebar-border bg-sidebar p-3",
className,
)}
{...props}
/>
),