mirror of https://github.com/snachodog/mybuddy.git
Update dashboard.html
Centered the child photo within the card
This commit is contained in:
parent
74f089fcec
commit
326a6f448c
|
@ -12,7 +12,7 @@
|
||||||
{% for object in objects %}
|
{% for object in objects %}
|
||||||
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-2 mb-4">
|
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-2 mb-4">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<a href="{% url 'core:child' object.slug %}">
|
<a class="text-center" href="{% url 'core:child' object.slug %}">
|
||||||
{% if object.picture %}
|
{% if object.picture %}
|
||||||
{% thumbnail object.picture 300x300 upscale crop as thumb %}
|
{% thumbnail object.picture 300x300 upscale crop as thumb %}
|
||||||
<img src="{{ thumb.url }}" class="child-photo img-fluid" />
|
<img src="{{ thumb.url }}" class="child-photo img-fluid" />
|
||||||
|
@ -34,4 +34,4 @@
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in New Issue