SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 9626f7c8 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Fit img better

parent 65ec9384
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<div class="row"> <div class="row">
<div class="col-sm-3 col-lg-2"> <div class="col-sm-3 col-lg-2">
<img class="mb-3 mb-sm-0 {{ news.image.css_class }}" <img class="mb-3 mb-sm-0 {{ news.image.css_class }}"
style="max-height: 16rem; max-width: 24rem;" style="max-height: 100%; max-width: 100%;"
src="{{ news.image.url }}" alt="image"/> src="{{ news.image.url }}" alt="image"/>
</div> </div>
<div class="col-sm-9 col-lg-10"> <div class="col-sm-9 col-lg-10">
......
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