diff --git a/website/static/css/style.css b/website/static/css/style.css index a04e8c87be..6125f10a37 100644 --- a/website/static/css/style.css +++ b/website/static/css/style.css @@ -336,11 +336,10 @@ a:hover{ text-decoration: none !important; } .leaderboard-points { - margin-top: 15px; - margin-right: 50px; + float: none !important; } .leaderboard-rank { - margin-top: -33px; + margin-left: 15px; } textarea { resize: vertical; @@ -423,4 +422,4 @@ input[type='file'] { display: block; font-size: 14px; line-height: 20px; -} \ No newline at end of file +} diff --git a/website/templates/index.html b/website/templates/index.html index 08a1013311..930bfbc7f1 100644 --- a/website/templates/index.html +++ b/website/templates/index.html @@ -153,34 +153,32 @@

Latest activity

- {% if leaderboard %} - {% for leader in leaderboard %} -
- {% if leader.socialaccount_set.all.0.get_avatar_url %} - - {% else %} - - {% endif %} - {{leader.username}} - {{leader.total_score}} Points - {{forloop.counter|ordinal}} -
- {% endfor %} - {% else %} -
- Leaderboard reset for {% now "F" %}. Be first to find issues! - {% endif %} -
- View All + {% if leaderboard %} + {% for leader in leaderboard %} +
+ {% if leader.socialaccount_set.all.0.get_avatar_url %} + + {% else %} + + {% endif %} + {{leader.username}} + {{leader.total_score}} Points + {{forloop.counter|ordinal}} +
+ {% endfor %} + {% else %} +
Leaderboard reset for {% now "F" %}. Be first to find issues! + {% endif %} + View All + -
-
- - -
+
+
+ +