summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/books/templates/books/book_detail.html3
-rw-r--r--design/sass/screenv10.scss1
2 files changed, 3 insertions, 1 deletions
diff --git a/app/books/templates/books/book_detail.html b/app/books/templates/books/book_detail.html
index 6304562..2f31103 100644
--- a/app/books/templates/books/book_detail.html
+++ b/app/books/templates/books/book_detail.html
@@ -51,7 +51,8 @@
{% endif %}{% endfor %}
</div>
{%endif%}
- <p class="small dis"><em>When you buy a book using the link above, I may earn a small affiliate commission.</em></p>
+ {% if object.afflink %}
+ <p class="small dis"><em>When you buy a book using the link above, I may earn a small affiliate commission.</em></p>{%endif%}
</div>
</main>
{% endblock %}
diff --git a/design/sass/screenv10.scss b/design/sass/screenv10.scss
index 07d9c8c..1adc558 100644
--- a/design/sass/screenv10.scss
+++ b/design/sass/screenv10.scss
@@ -1077,6 +1077,7 @@ p + .picwide {
}
.book-cover-wrapper img {
margin-left: -.5rem;
+ max-width: 300px;
}
.book-metadata {
font-family: mffnweb, Helvetica, sans-serif;