Skip to content

Commit

Permalink
center image on file detail page
Browse files Browse the repository at this point in the history
  • Loading branch information
tykling committed Nov 21, 2024
1 parent 36d1f3e commit fd9e859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/files/templates/file_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<div class="card-header">
<h5 class="card-title">{{ file.filetype|capfirst }} {{ file.title }}</h5>
</div>
<div class="card-body">
<div class="card-body d-flex justify-content-center">
{% render_file file.original img_alt=file.title img_loading="lazy" img_class="img-fluid" lg=9 sm=12 %}
</div>
</div>
Expand Down

0 comments on commit fd9e859

Please sign in to comment.