Skip to content

Commit

Permalink
fix: alignment issue of place under the award section (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShashwatPS authored Dec 18, 2023
1 parent 198f6f1 commit 0292326
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions layout/Challenges/components/Challenges/Challenge/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,11 @@ export default function Challenge(props: IProps) {
ordinal = "th";
}
return (
<p key={index}>
<a
href={props.prizes[index].url}
className="text-iregular text-quinary"
>
<p key={index} className="text-iregular">
<a href={props.prizes[index].url} className="text-quinary">
{index + 1}
<sup>{ordinal}</sup> place - {props.prizes[index].name}
<sup className="font-mono">{ordinal}</sup> place -{" "}
{props.prizes[index].name}
</a>
</p>
);
Expand Down

0 comments on commit 0292326

Please sign in to comment.