diff --git a/package.json b/package.json index 868ba2c..0e8e649 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@panic/web-ui", - "version": "0.1.4", + "version": "0.1.5", "license": "AGPL-3.0-only", "description": "Core components for panic.haus web applications", "type": "module", diff --git a/src/components/SidebarNavItem.tsx b/src/components/SidebarNavItem.tsx index 8d6f6fb..814851a 100644 --- a/src/components/SidebarNavItem.tsx +++ b/src/components/SidebarNavItem.tsx @@ -13,7 +13,7 @@ type SidebarNavItemProps = { export function SidebarNavItem({ to, label, icon: Icon, collapsed, onClick }: Readonly) { 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 (