Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Commit

Permalink
Merge 819b1f9 into d895b37
Browse files Browse the repository at this point in the history
  • Loading branch information
philli-m committed Jun 4, 2019
2 parents d895b37 + 819b1f9 commit 5066f84
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/users/templates/a4_candy_users/indicator.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
aria-expanded="false"
id="user-actions"
>
<img class="userindicator__btn-img" src="{% if request.user.avatar %}{{ request.user.avatar|thumbnail_url:'avatar'}}{% else %}{% static 'images/avatar_00.png' %}{% endif %}">
<div class="userindicator__btn-img" style="background-image: {% if request.user.avatar %} url({{ request.user.avatar|thumbnail_url:'avatar'}}) {% else %} url({% static 'images/avatar_00.png' %}) {% endif %}"></div>
<div class="userindicator__btn-text">
<span class="userindicator__hello">{% trans "Hello" %}</span>
<br>
Expand Down
2 changes: 1 addition & 1 deletion liqd_product/assets/scss/components/_rating.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
}

.rating-up {
@include rating-button($brand-success);
@include rating-button($brand-primary);
}

.rating-down {
Expand Down
3 changes: 3 additions & 0 deletions liqd_product/assets/scss/components/_userindicator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
height: 3em;
border-radius: 100%;
border: 2px solid $body-bg;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}

.userindicator__btn-text {
Expand Down

0 comments on commit 5066f84

Please sign in to comment.