Skip to content

Commit

Permalink
Use inline-block for link_user fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
hieplpvip committed May 14, 2023
1 parent f0d355d commit 221d4e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion judge/jinja2/reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def link_user(user):

return mark_safe(f'<span class="{profile.css_class}">'
f'<a href="{escape(reverse("user_page", args=[user.username]))}"'
f' style="display: inline-flex; align-items: center;">'
f' style="display: inline-block; align-items: center;">'
f'{escape(profile.display_name)}</a>{display_badge_img}</span>')


Expand Down

0 comments on commit 221d4e9

Please sign in to comment.