Skip to content
Snippets Groups Projects
Commit a7ff6671 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix logo and avatar

parent fbde4b8a
No related branches found
No related tags found
No related merge requests found
Source diff could not be displayed: it is too large. Options to address this: view the blob.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -39,6 +39,8 @@
overflow-y: scroll
z-index: 1000
padding-bottom: 30px
.avatar
width: 80px
.menu-content
position: relative
margin-top: 150px
......
......@@ -42,7 +42,7 @@
<div class="col-md-4 col-lg-3">
<a class="float-end" href="#">
<% if current_user.picture.attached? && current_user.picture.variable? %>
<%= image_tag current_user.picture.variant(resize: '80x80'), class: 'avatar img-fluid rounded-circle' %>
<%= image_tag current_user.picture.variant(resize: '160x160'), class: 'avatar img-fluid rounded-circle' %>
<% else %>
<%= image_tag 'avatar.jpg', class: 'avatar img-fluid rounded-circle' %>
<% end %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment