mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-01 08:34:53 +02:00
makes sidebar width full
This commit is contained in:
parent
e057c5f3bf
commit
764c56c4a1
2 changed files with 4 additions and 2 deletions
|
@ -90,6 +90,7 @@ export function SidebarNav({
|
|||
<Link
|
||||
href={hydrateHref(item.href)}
|
||||
className={cn(
|
||||
"w-full",
|
||||
buttonVariants({ variant: "ghost" }),
|
||||
pathname === hydrateHref(item.href) &&
|
||||
!pathname.includes("create")
|
||||
|
@ -118,10 +119,10 @@ export function SidebarNav({
|
|||
key={hydrateHref(child.href)}
|
||||
className="flex items-center space-x-2"
|
||||
>
|
||||
<CornerDownRight className="h-4 w-4 text-gray-500" />
|
||||
<Link
|
||||
href={hydrateHref(child.href)}
|
||||
className={cn(
|
||||
"w-full",
|
||||
buttonVariants({ variant: "ghost" }),
|
||||
pathname === hydrateHref(child.href) &&
|
||||
!pathname.includes("create")
|
||||
|
@ -138,6 +139,7 @@ export function SidebarNav({
|
|||
tabIndex={disabled ? -1 : undefined}
|
||||
aria-disabled={disabled}
|
||||
>
|
||||
<CornerDownRight className="h-4 w-4 text-gray-500 mr-2" />
|
||||
{child.icon ? (
|
||||
<div className="flex items-center space-x-2">
|
||||
{child.icon}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue