Merge pull request #43 from beatriceo/front-end
changed profile image size
This commit is contained in:
commit
076489ecd6
|
@ -57,3 +57,8 @@
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.img-profile {
|
||||||
|
width: 200px;
|
||||||
|
height: 200px;
|
||||||
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<div class="col-xs-12 col-md-3 vcenter">
|
<div class="col-xs-12 col-md-3 vcenter">
|
||||||
<div class="profile-pic vertical-padding">
|
<div class="profile-pic vertical-padding">
|
||||||
<% if @user.photo.url.nil? %>
|
<% 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 %>
|
<% else %>
|
||||||
<%= cl_image_tag @user.photo, class: "img-circle"%>
|
<%= cl_image_tag @user.photo, class: "img-circle"%>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue