SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 66a45a16 authored by George Katsikas's avatar George Katsikas :goat:
Browse files

set image bounds to collections and series

parent ea1cbc54
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@
{% endif %}
{% if collection.image %}
<div class="p-2">
<img class="d-flex me-3 p-2" style="max-width: 100%;" alt="image" src="{{ collection.image.url }}">
<img class="d-flex me-3 p-2" style="max-height: 350px; max-width: 100%;" alt="image" src="{{ collection.image.url }}">
</div>
{% endif %}
</div>
......
......@@ -38,7 +38,7 @@
</ul>
<div class="p-2">
{% if series.image %}
<img class="d-flex me-3" alt="series image" src="{{ series.image.url }}">
<img class="d-flex me-3" style="max-height: 350px; max-width: 100%;" alt="series image" src="{{ series.image.url }}">
{% endif %}
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment