Skip to content

Commit

Permalink
Update page.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
adityaraj-09 authored Oct 13, 2024
1 parent 2028fe3 commit a892d1f
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ export default async function RolesPage(props: Props) {
>
<Tooltip>
<TooltipTrigger asChild>
<div className="flex items-center justify-between gap-2 truncate">
<span className="truncate">{permission.name}</span>
<div>
<CopyButton value={permission.name} />
</div>
</div>
<div className="flex items-center justify-between gap-2 w-full truncate">
<span className="truncate max-w-[calc(100%-32px)]">{permission.name}</span>
<div>
<CopyButton value={permission.name} />
</div>
</div>
</TooltipTrigger>
{shouldShowTooltip && (
<TooltipContent>
Expand Down

0 comments on commit a892d1f

Please sign in to comment.