Skip to content

Commit

Permalink
Merge pull request #936 from Shelf-nu/icon-hug-css-fix
Browse files Browse the repository at this point in the history
small fix for better button looks on mobile
  • Loading branch information
DonKoko authored Apr 27, 2024
2 parents 2815a7e + ca07af5 commit 05232b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/components/icons/iconHug.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ export default function IconHug({ size = "sm", children, className }: Props) {
*/
const sizeClass = sizeClasses[size];
return (
<div
<span
className={tw(
"flex items-center justify-center", //positioning
"inline-flex items-center justify-center", //positioning
"rounded hover:cursor-pointer", //styling
sizeClass,
className
)}
>
{children}
</div>
</span>
);
}

0 comments on commit 05232b5

Please sign in to comment.