Commit 940191512a0223bc44304a2a413e1128575a749a

Authored by ailsoncgt
1 parent 69ee6876

Make img responsive in circle #184

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
users/templates/list_users.html
... ... @@ -42,7 +42,7 @@
42 42 </div>
43 43 <div class="col-md-1 col-sm-1 col-xs-1">
44 44 <button type="submit" class="btn btn-fab btn-fab-mini">
45   - <i class="material-icons">{% trans 'Search' %}</i>
  45 + <i class="material-icons">search</i>
46 46 </button>
47 47 </div>
48 48 </div>
... ... @@ -54,7 +54,7 @@
54 54 <div class="panel-body">
55 55 <div class="col-md-4">
56 56 {% if acc.image %}
57   - <img src="{{ acc.image.url }}" alt="photoUser" class="img-circle img-responsive img-list-user">
  57 + <div style="background-image: url('{{ acc.image.url }}'); background-size: 100%" alt="photoUser" class="img-circle img-responsive img-list-user"></div>
58 58 {% else %}
59 59 {% if acc.gender == 'M' %}
60 60 <img src="{% static 'img/male_avatar.png' %}" alt="Avatar" class="img-circle img-responsive img-list-user">
... ...