reviews formatting

This commit is contained in:
Mouse Reeve 2020-01-28 17:29:02 -08:00
parent e0c174d990
commit a272e2c40d
2 changed files with 13 additions and 2 deletions

View file

@ -94,3 +94,10 @@ form label {
width: 30rem; width: 30rem;
height: 10rem; height: 10rem;
} }
.review {
margin-bottom: 1rem;
}
small {
display: block;
}

View file

@ -32,8 +32,12 @@
<p>No reviews yet!</p> <p>No reviews yet!</p>
{% endif %} {% endif %}
{% for review in reviews %} {% for review in reviews %}
<p><span class="review-title">{{ review.name }}</span>{{ review.rating }} stars, by {{ review.user.username }}</p> <div class="review">
<p>{{ review.review_content }}</p> <h4>{{ review.name }}
<small>{{ review.rating }} stars, by {{ review.user.username }}</small>
</h4>
<blockquote>{{ review.review_content }}</blockquote>
</div>
{% endfor %} {% endfor %}
</div> </div>
</div> </div>