Skip to content

Commit

Permalink
Merge pull request #662 from magnetomax/master
Browse files Browse the repository at this point in the history
Fixed incorrect Heading in tablet view
  • Loading branch information
mkalam-alami authored Jun 12, 2022
2 parents 8c3b18d + 79d6263 commit 6f5a7de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/event/results/results.template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ export default function render(context: CommonLocals): JSX.Element {
<div class={`col-sm-9 col-md-${12 - categoryTitles.length} mb-3`}>&nbsp;</div>
{categoryTitles.map((title, index) =>
ifFalse(flags.specialAwards && index + 1 === 7, () =>
<div class={"col-sm-2 col-md-1 text-center " +((index - 1) !== sortedBy ? "d-none d-md-block" : "")}>
<span style="font-weight: bold">{categoryTitles[index]}</span>
<div class={"col-sm-2 col-md-1 text-center " +((index + 1) !== sortedBy ? "d-none d-md-block" : "")}>
<span style="font-weight: bold">{title}</span>
</div>
)
)}
Expand Down

0 comments on commit 6f5a7de

Please sign in to comment.