Skip to content

Commit

Permalink
Decrease user avatar proportions
Browse files Browse the repository at this point in the history
  • Loading branch information
andersonkrs committed Aug 18, 2024
1 parent 00c5bdc commit f4eafa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/users/_user.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="columns is-multiline">
<div class="column is-full p-0">
<div class="is-flex is-flex-direction-column is-justify-content-center is-align-content-center is-flex-wrap-wrap">
<%= 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 %>
Expand Down

0 comments on commit f4eafa2

Please sign in to comment.