Skip to content

Commit

Permalink
Make permission icons have a fixed size
Browse files Browse the repository at this point in the history
  • Loading branch information
mybearworld committed Jul 25, 2024
1 parent b990d3c commit 29ca6b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/User.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const Permissions = (props: PermissionsProps) => {
{PERMISSIONS.map((permission, index) =>
(props.permissions & (1 << index)) !== 0 ?
<div className="flex items-center gap-4 px-2 py-1">
<permission.icon aria-hidden />
<permission.icon aria-hidden class="h-6 w-6" />
<div className="flex flex-col">
<p className="font-bold">{permission.name}</p>
<p className="text-sm italic">{permission.description}</p>
Expand Down

0 comments on commit 29ca6b5

Please sign in to comment.