Skip to content

Commit 6f47b56

Browse files
committed
fix: flex shrink
1 parent 98379fb commit 6f47b56

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/SocialListItem.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ const SocialListItem = ({
3838
const Icon = icons[socialIcon]
3939
return (
4040
<div className={cn("flex w-full items-center px-0 py-2", className)}>
41-
<Icon className={cn("size-10 pe-3", socialColorClasses[socialIcon])} />
41+
<Icon
42+
className={cn("size-10 shrink-0 pe-3", socialColorClasses[socialIcon])}
43+
/>
4244
<div className="font-normal italic">{children}</div>
4345
</div>
4446
)

0 commit comments

Comments
 (0)