improved formatting of non-avatar org icons

This commit is contained in:
2026-01-29 21:08:26 +00:00
parent 229bce5ee9
commit 13ba687ef3

View File

@@ -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>
);