fix avatar rounded. (#530)

This commit is contained in:
tsai-jimmy 2019-09-09 05:00:47 +08:00 committed by Ruipeng Zhang
parent 632276b1f6
commit 2937dc6360
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
<div>
<% const is_rounded = get_config_from_obj(widget, 'avatar_rounded', false); %>
<figure class="image is-128x128 has-mb-6">
<img <%= is_rounded ? 'class="is-rounded"' : '' %> src="<%= avatar() %>" alt="<%= get_config_from_obj(widget, 'author') %>">
<img class=<%= is_rounded ? 'is-rounded' : '' %> src="<%= avatar() %>" alt="<%= get_config_from_obj(widget, 'author') %>">
</figure>
<% if (get_config_from_obj(widget, 'author')) { %>
<p class="is-size-4 is-block">