Skip to content

Commit

Permalink
Merge pull request #1336 from codalab/small_logo
Browse files Browse the repository at this point in the history
Small logo_icon
  • Loading branch information
Didayolo authored Feb 19, 2024
2 parents bfce6b5 + 18f521b commit d38e74c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/apps/api/serializers/competitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ class Meta:
'published',
'participant_count',
'logo',
'logo_icon',
'description',
'competition_type',
'reward',
Expand Down
2 changes: 1 addition & 1 deletion src/static/riot/competitions/tile/competition_tile.tag
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div class="tile-wrapper">
<div class="ui square tiny bordered image img-wrapper">
<img src="{logo}">
<img src="{logo_icon ? logo_icon : logo}">
</div>
<a class="link-no-deco" href="./competitions/{id}">
<div class="comp-info">
Expand Down

0 comments on commit d38e74c

Please sign in to comment.