Skip to content

Commit

Permalink
Fixed the alignement issue of 'place' under the awards section
Browse files Browse the repository at this point in the history
  • Loading branch information
ShashwatPS committed Nov 25, 2023
1 parent 2d897a8 commit 406cae7
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions layout/Challenges/components/Challenges/Challenge/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,15 @@ export default function Challenge(props: IProps) {
href={props.prizes[index].url}
className="text-iregular text-quinary"
>
{index + 1}
<sup>{ordinal}</sup> place - {props.prizes[index].name}
<span>
{index + 1}
<sup style={{ width: "1ch", display: "inline-block" }}>
{ordinal}
</sup>
</span>
<span style={{ marginLeft: "10px" }}>
place - {props.prizes[index].name}
</span>
</a>
</p>
);
Expand Down

0 comments on commit 406cae7

Please sign in to comment.