From f4eafa24aa096bdc9b03780b7f5ff1857e76789c Mon Sep 17 00:00:00 2001 From: Anderson Macedo Date: Sun, 18 Aug 2024 11:01:03 -0300 Subject: [PATCH] Decrease user avatar proportions --- app/views/users/_user.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/users/_user.html.erb b/app/views/users/_user.html.erb index 4fb01119..a43eb6de 100644 --- a/app/views/users/_user.html.erb +++ b/app/views/users/_user.html.erb @@ -6,7 +6,7 @@
- <%= link_to(MAL::URLS.profile_url(user.username), target: "_blank", rel: "noopener noreferrer", class: "image has-text-centered", style: "max-width: 255px; max-height: 350px; color: inherit") do %> + <%= link_to(MAL::URLS.profile_url(user.username), target: "_blank", rel: "noopener noreferrer", class: "image has-text-centered", style: "max-width: 155px; max-height: 250px; color: inherit") do %> <% if user.avatar_url.present? %> <%= image_tag user.avatar_url, style: "object-fit: cover;" %> <% else %>