changed profile image size

This commit is contained in:
Beatrice Olivera 2018-09-03 09:06:52 +01:00
parent 7559e39030
commit 247ece4b4b
2 changed files with 6 additions and 1 deletions

View File

@ -57,3 +57,8 @@
margin-top: 5px;
margin-bottom: 5px;
}
.img-profile {
width: 200px;
height: 200px;
}

View File

@ -3,7 +3,7 @@
<div class="col-xs-12 col-md-3 vcenter">
<div class="profile-pic vertical-padding">
<% 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 %>