fix sidebar, v0.1.5
This commit is contained in:
@@ -13,7 +13,7 @@ type SidebarNavItemProps = {
|
||||
|
||||
export function SidebarNavItem({ to, label, icon: Icon, collapsed, onClick }: Readonly<SidebarNavItemProps>) {
|
||||
const layoutClass = collapsed
|
||||
? 'px-2 justify-start lg:mx-auto lg:w-8 lg:justify-center lg:px-0'
|
||||
? 'mx-auto w-8 justify-center px-0'
|
||||
: 'px-2 lg:w-full lg:justify-start';
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user