diff --git a/app/blocks/sidebar/sidebar-01/app-sidebar.tsx b/app/blocks/sidebar/sidebar-01/app-sidebar.tsx index 2fe0942e..54b6f5f7 100644 --- a/app/blocks/sidebar/sidebar-01/app-sidebar.tsx +++ b/app/blocks/sidebar/sidebar-01/app-sidebar.tsx @@ -76,7 +76,9 @@ export function AppSidebar(props: React.ComponentProps) { Add New Member - Manage Roles + + Manage Roles + diff --git a/app/blocks/sidebar/sidebar-02/app-sidebar.tsx b/app/blocks/sidebar/sidebar-02/app-sidebar.tsx index faeaf4e1..609b44a7 100644 --- a/app/blocks/sidebar/sidebar-02/app-sidebar.tsx +++ b/app/blocks/sidebar/sidebar-02/app-sidebar.tsx @@ -44,7 +44,7 @@ export function AppSidebar(props: React.ComponentProps) { Overview - + Settings @@ -76,7 +76,9 @@ export function AppSidebar(props: React.ComponentProps) { Add New Member - Manage Roles + + Manage Roles + diff --git a/app/blocks/sidebar/sidebar-03/app-sidebar.tsx b/app/blocks/sidebar/sidebar-03/app-sidebar.tsx index 42806786..765365d7 100644 --- a/app/blocks/sidebar/sidebar-03/app-sidebar.tsx +++ b/app/blocks/sidebar/sidebar-03/app-sidebar.tsx @@ -41,13 +41,13 @@ export function AppSidebar(props: React.ComponentProps) { - + Overview Settings - + Billing @@ -76,7 +76,9 @@ export function AppSidebar(props: React.ComponentProps) { Add New Member - Manage Roles + + Manage Roles + diff --git a/components/ui/sidebar.tsx b/components/ui/sidebar.tsx index 25cf9efb..7b32d554 100644 --- a/components/ui/sidebar.tsx +++ b/components/ui/sidebar.tsx @@ -289,7 +289,7 @@ const Item = ({ isCurrent, children, className, icon: Icon, ...props }: ItemProp <> {state === "collapsed" ? ( - + {} {children as string} @@ -376,8 +376,9 @@ const footer = tv({ base: "flex flex-col mt-auto [&>section+section]:mt-2.5", variants: { collapsed: { - false: - "p-2 [&_[slot=menu-trigger]]:w-full [&_[slot=menu-trigger]]:justify-start [&_[slot=menu-trigger]]:flex [&_[slot=menu-trigger]]:items-center", + false: [ + "p-2 [&_[slot=menu-trigger]]:w-full [&_[slot=menu-trigger]]:justify-start [&_[slot=menu-trigger]]:flex [&_[slot=menu-trigger]]:items-center" + ], true: "size-12 p-1 [&_[slot=menu-trigger]]:size-9 justify-center items-center" } }