mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-19 16:59:45 +02:00
makes sidebar width full
This commit is contained in:
parent
e057c5f3bf
commit
764c56c4a1
2 changed files with 4 additions and 2 deletions
|
@ -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}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue