Skip to content

Commit

Permalink
Merge pull request #15 from Lazylllama/Lazylllama-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
taciturnaxolotl authored Dec 12, 2024
2 parents c560952 + 47100e7 commit db9327a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/leaderboard.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h1 class="text-4xl font-semibold antialiased mb-1 leading-snug">Leaderboard</h1
{{ range $i, $item := .Items }}
<li class="px-4 py-2 my-2 rounded-md border-2 border-primary {{ $.ColorModifier $item $.User }} flex justify-between">
<div class="w-12"><strong># {{ $item.Rank }}</strong></div>
<div class="flex flex-grow w-16 mx-1 justify-start items-center space-x-4 align-middle">
<div class="flex flex-grow w-16 mx-1 justify-start items-center space-x-4 align-middle truncate">
{{ if avatarUrlTemplate }}
<img src="{{ $item.User.AvatarURL avatarUrlTemplate }}" width="24px" class="rounded-full border-2 border-accent-primary dark:border-accent-dark-primary" alt="User Profile Avatar"/>
{{ else }}
Expand Down

0 comments on commit db9327a

Please sign in to comment.