mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 00:26:33 +00:00
reviews formatting
This commit is contained in:
parent
e0c174d990
commit
a272e2c40d
2 changed files with 13 additions and 2 deletions
|
@ -94,3 +94,10 @@ form label {
|
||||||
width: 30rem;
|
width: 30rem;
|
||||||
height: 10rem;
|
height: 10rem;
|
||||||
}
|
}
|
||||||
|
.review {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
small {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue