mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
improved formatting of non-avatar org icons
This commit is contained in:
@@ -70,7 +70,9 @@ export default function OrgIcon({
|
||||
{iconURL ? (
|
||||
<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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user