Skip to content

Commit

Permalink
All avatars get creme
Browse files Browse the repository at this point in the history
  • Loading branch information
blopker committed Oct 10, 2023
1 parent b055dbf commit e36e34a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,21 @@ test:
docker-compose -f local.yml run --rm django coverage run -m pytest
docker-compose -f local.yml run --rm django coverage report

shell:
docker-compose -f local.yml run --rm django bash

tasks:
docker-compose -f local.yml run --rm django python manage.py totem_tasks

shell:
docker-compose -f local.yml run --rm django bash

dbshell:
docker-compose -f local.yml exec postgres bash

sqlshell:
docker-compose -f local.yml exec postgres psql -U debug -d totem

pyshell:
docker-compose -f local.yml run --rm django ./manage.py shell_plus

deploy:
git push dokku

Expand Down
2 changes: 1 addition & 1 deletion assets/js/components/card.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function Card(props) {
<p class="mb-3 font-normal text-white">{props.description}</p>
</div>
<div>
<div class="w-[75px] rounded-full bg-tcreme p-0.5">
<div class="w-[75px] rounded-full">
<a href={props.href}>{props.avatar}</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion totem/static/js/app.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions totem/static/js/app.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions totem/templates/utils/avatar.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
src="{{ image.url }}"
alt="{{ name }}"
title="{{ name }}"
class="rounded-full {{ classes }}">
class="rounded-full bg-tcreme p-0.5 {{ classes }}">
{% else %}
<img width="{{ size }}"
height="{{ size }}"
src="data:image/svg+xml;utf8,{{ svg }}"
alt="{{ name }}"
title="{{ name }}"
class="rounded-full {{ classes }}">
class="rounded-full bg-tcreme p-0.5 {{ classes }}">
{% endif %}

0 comments on commit e36e34a

Please sign in to comment.