diff --git a/app/assets/stylesheets/users/_show.scss b/app/assets/stylesheets/users/_show.scss index 90bc12d..906e0f4 100644 --- a/app/assets/stylesheets/users/_show.scss +++ b/app/assets/stylesheets/users/_show.scss @@ -57,3 +57,8 @@ margin-top: 5px; margin-bottom: 5px; } + +.img-profile { + width: 200px; + height: 200px; +} diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 020cacb..17371eb 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -3,7 +3,7 @@
<% if @user.photo.url.nil? %> - <%= image_tag "https://upload.wikimedia.org/wikipedia/commons/8/89/Portrait_Placeholder.png", class: "img-circle"%> + <%= image_tag "https://upload.wikimedia.org/wikipedia/commons/8/89/Portrait_Placeholder.png", class: "img-circle img-profile"%> <% else %> <%= cl_image_tag @user.photo, class: "img-circle"%> <% end %>