Skip to content

Commit

Permalink
🐛 Fix Share and Pin button design
Browse files Browse the repository at this point in the history
  • Loading branch information
bal7hazar committed Jan 31, 2025
1 parent c95a31b commit 0c8272c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/profile/src/components/achievements/trophy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export function Trophy({
}, [version]);

return (
<div className="flex items-center gap-x-px">
<div className="flex items-stretch gap-x-px">
<div className="grow flex flex-col items-stretch gap-y-3 bg-background-100 p-3">
<div className="flex items-center gap-3">
<Icon icon={icon} completed={completed} />
Expand Down Expand Up @@ -99,8 +99,8 @@ export function Trophy({
)}
</div>
<div className="flex flex-col gap-y-px">
{compatibility && completed && !softview && (
<Track enabled={enabled} id={id} pins={pins} />
{compatibility && !softview && (
<Track enabled={enabled && completed} id={id} pins={pins} />
)}
{completed && !softview && !!game && (
<Share
Expand Down

0 comments on commit 0c8272c

Please sign in to comment.