front page challenges fix

This commit is contained in:
Laura 2017-10-09 00:16:18 +03:00
parent 91864f0169
commit 94b21c8492

View File

@ -290,12 +290,12 @@
</div> </div>
<div class="row challenges"> <div class="row challenges">
{% for challenge in challenges %} {% for challenge in challenges %}
<div class="col s12 m3"> <div class="col s12 m4 l3">
<div class="card small"> <div class="card small">
<div class="card-content"> <div class="card-content">
<div class="card-title">{{ challenge.name }}</div> <div class="card-title">{{ challenge.name }}</div>
<p>{{ challenge.description }}</p> <p style="text-align: justify; max-height: 160px; overflow: auto;">{{ challenge.description }}</p>
</br> </br>
<div> <div>
{% for tag in challenge.tags.all %} {% for tag in challenge.tags.all %}