mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-07 03:06:40 +00:00
makes sidebar width full
This commit is contained in:
@@ -81,7 +81,7 @@ export function InvitationsDataTable<TData, TValue>({
|
|||||||
colSpan={columns.length}
|
colSpan={columns.length}
|
||||||
className="h-24 text-center"
|
className="h-24 text-center"
|
||||||
>
|
>
|
||||||
No Invitations Found.
|
No invitations found.
|
||||||
</TableCell>
|
</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -90,6 +90,7 @@ export function SidebarNav({
|
|||||||
<Link
|
<Link
|
||||||
href={hydrateHref(item.href)}
|
href={hydrateHref(item.href)}
|
||||||
className={cn(
|
className={cn(
|
||||||
|
"w-full",
|
||||||
buttonVariants({ variant: "ghost" }),
|
buttonVariants({ variant: "ghost" }),
|
||||||
pathname === hydrateHref(item.href) &&
|
pathname === hydrateHref(item.href) &&
|
||||||
!pathname.includes("create")
|
!pathname.includes("create")
|
||||||
@@ -118,10 +119,10 @@ export function SidebarNav({
|
|||||||
key={hydrateHref(child.href)}
|
key={hydrateHref(child.href)}
|
||||||
className="flex items-center space-x-2"
|
className="flex items-center space-x-2"
|
||||||
>
|
>
|
||||||
<CornerDownRight className="h-4 w-4 text-gray-500" />
|
|
||||||
<Link
|
<Link
|
||||||
href={hydrateHref(child.href)}
|
href={hydrateHref(child.href)}
|
||||||
className={cn(
|
className={cn(
|
||||||
|
"w-full",
|
||||||
buttonVariants({ variant: "ghost" }),
|
buttonVariants({ variant: "ghost" }),
|
||||||
pathname === hydrateHref(child.href) &&
|
pathname === hydrateHref(child.href) &&
|
||||||
!pathname.includes("create")
|
!pathname.includes("create")
|
||||||
@@ -138,6 +139,7 @@ export function SidebarNav({
|
|||||||
tabIndex={disabled ? -1 : undefined}
|
tabIndex={disabled ? -1 : undefined}
|
||||||
aria-disabled={disabled}
|
aria-disabled={disabled}
|
||||||
>
|
>
|
||||||
|
<CornerDownRight className="h-4 w-4 text-gray-500 mr-2" />
|
||||||
{child.icon ? (
|
{child.icon ? (
|
||||||
<div className="flex items-center space-x-2">
|
<div className="flex items-center space-x-2">
|
||||||
{child.icon}
|
{child.icon}
|
||||||
|
|||||||
Reference in New Issue
Block a user