mirror of
https://github.com/hex248/sprint.git
synced 2026-02-07 18:23:03 +00:00
improved formatting of non-avatar org icons
This commit is contained in:
@@ -70,7 +70,9 @@ export default function OrgIcon({
|
|||||||
{iconURL ? (
|
{iconURL ? (
|
||||||
<img src={iconURL} alt={name} className={`rounded-md object-cover w-${size || 6} h-${size || 6}`} />
|
<img src={iconURL} alt={name} className={`rounded-md object-cover w-${size || 6} h-${size || 6}`} />
|
||||||
) : (
|
) : (
|
||||||
<span className={cn(textClass)}>{getInitials(name)}</span>
|
<div className={cn("flex items-center justify-center", `w-${size || 6}`, `h-${size || 6}`)}>
|
||||||
|
<span className={cn("", textClass)}>{getInitials(name)}</span>
|
||||||
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user