Skip to content

Commit

Permalink
Fix skill selector gap when more than one skill slot is unlocked.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: e3aed66e47eda09c9010ecc9094060cadc0c0cc1
  • Loading branch information
cpojer committed Aug 6, 2024
1 parent 0703844 commit 85da871
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hera/ui/PlayerSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,11 +322,11 @@ const PlayerItem = ({
skillSlots={skillSlots}
/>
) : (
<div className={cx(nameStyle, skillStyle)}>
<Stack className={cx(nameStyle, skillStyle)} gap={16} nowrap>
{[...player.skills].map((skill) => (
<SkillIcon key={skill} skill={skill} />
))}
</div>
</Stack>
)
) : null}
{aiRegistry && (
Expand Down

0 comments on commit 85da871

Please sign in to comment.