fix(thread): Load Gravatar images at larger size

This makes them look nicer in 2x situations (e.g. retina displays) and
when a user zooms in.
This commit is contained in:
Vincent Ambo 2018-04-16 16:48:42 +02:00
parent ee855d8b67
commit 37331d9107

View file

@ -29,7 +29,7 @@
{% for post in posts -%} {% for post in posts -%}
<div id="post-{{ post.id}}" class="list-group-item d-flex row"> <div id="post-{{ post.id}}" class="list-group-item d-flex row">
<div class="d-flex flex-column border-right col-2"> <div class="d-flex flex-column border-right col-2">
<img class="mx-auto" src="https://www.gravatar.com/avatar/{{ post.author_gravatar }}?d=monsterid" style="width: 80px;"/> <img class="mx-auto" src="https://www.gravatar.com/avatar/{{ post.author_gravatar }}?d=monsterid&s=160" style="width: 80px;"/>
<span class="mx-auto text-center"><strong>{{ post.author_name }}</strong></span> <span class="mx-auto text-center"><strong>{{ post.author_name }}</strong></span>
</div> </div>