Skip to content

Commit

Permalink
Fix staff flag moving in RTL languages
Browse files Browse the repository at this point in the history
  • Loading branch information
gregzaal committed Oct 4, 2024
1 parent 221c5cf commit f00e098
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions components/UI/Avatar/Staff.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ const Staff = ({ id, name, role, country, mode }) => {
return (
<div className={styles.staffAvatar}>
<Link href={`/all?a=${id}`}>

<img src={`https://cdn.polyhaven.com/people/${id}.jpg?width=${size}`} width={size} height={size} />

</Link>
<div className={`${styles.staffInfo} ${mode === 'compact' ? styles.staffInfoCompact : null}`}>
<CountryFlag code={country} />
<strong>{name}</strong>
<span lang="en" dir="ltr">
<CountryFlag code={country} />
<strong>{name}</strong>
</span>
<br />
<em>{role}</em>
</div>
</div>
);
)
}

export default Staff

0 comments on commit f00e098

Please sign in to comment.