Skip to content

A platform for community discussion. Free, open, simple.

UX: Improve published page avatar resolution (#9405)

tshenrya10c36994b80
diff --git a/app/views/published_pages/show.html.erb b/app/views/published_pages/show.html.erb
index 08f5474b817..43b11f68512 100644
--- a/app/views/published_pages/show.html.erb
+++ b/app/views/published_pages/show.html.erb
@@ -3,7 +3,7 @@
<h1 class="published-page-title"><%= @topic.title %></h1>
<div class="published-page-author">
- <img src="<%= @topic.user.small_avatar_url %>" class="avatar">
+ <img width="45" height="45" src="<%= @topic.user.avatar_template.gsub('{size}', '90') %>" class="avatar">
<div class="published-page-author-details">
<div class="username"><%= @topic.user.username %></div>
<div class="topic-created-at"><%= short_date(@topic.created_at) %></div>