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 b6cdfe6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/User.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,10 @@ 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
className="h-6 min-h-6 w-6 min-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 b6cdfe6

Please sign in to comment.