1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-02 07:47:32 +00:00

add height=32 for avatar img

This commit is contained in:
lian 2018-10-27 13:18:37 +08:00
parent bcd9496bf8
commit 0d05476914

View File

@ -106,7 +106,7 @@
</div>
<div class="comments-panel-footer file-discussions-footer">
<form action="" method="post" class="msg-form">
<img src="{% avatar_url request.user 64 %}" alt="" width="32" class="avatar-circle fleft" />
<img src="{% avatar_url request.user 64 %}" alt="" width="32" height="32" class="avatar-circle fleft" />
<div class="msg-body">
<textarea name="message" placeholder="{% trans "Add a comment..." %}" title="{% trans "Add a comment..." %}" aria-label="{% trans "Add a comment..." %}" class="msg-input"></textarea>
<p class="error hide"></p>
@ -117,7 +117,7 @@
</script>
<script type="text/template" id="discussion-tmpl">
<li class="msg ovhd">
<img src="<%= avatar_url %>" alt="" width="32" class="avatar-circle fleft" />
<img src="<%= avatar_url %>" alt="" width="32" height="32" class="avatar-circle fleft" />
<div class="msg-body">
<div class="ovhd">
<a class="msg-username ellipsis" title="<%- user_name %>" href="<%= user_profile_url %>"><%- user_name %></a>