Make image in user link bigger

This commit is contained in:
cuom1999 2024-04-13 17:19:39 -05:00
parent e6a1c04509
commit c6c5ea0c7a
2 changed files with 3 additions and 8 deletions

View file

@ -35,8 +35,8 @@ th.header.rank {
align-items: center;
.user-img {
height: 1.5em;
width: 1.5em;
height: 2em;
width: 2em;
}
}

View file

@ -24,12 +24,7 @@
</div>
<div class="detail">
<div class="header">
{% with author=node.author, user=node.author.user %}
<a href="{{ url('user_page', user.username) }}" class="user comment-img user-img">
<img src="{{ gravatar(author, 135) }}">
</a>
{% endwith %}
{{ link_user(node.author) }},&nbsp;
{{ link_user(node.author, show_image=True) }}&nbsp;&nbsp;
{{ relative_time(node.time, abs=_('{time}'), rel=_('{time}')) }}
<span class="comment-spacer"></span>
<span class="comment-operation">