fix: properly bound sizing of image

This commit is contained in:
Artémis 2025-02-08 19:37:35 +01:00
parent e46cfee33b
commit 77f231c913
2 changed files with 5 additions and 2 deletions

View file

@ -56,6 +56,7 @@ picture.block>img {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 100%;
}
body {
@ -404,4 +405,4 @@ input#ident {
div.fields.submit {
align-items: center;
}
}
}

View file

@ -38,7 +38,9 @@
<details>
<summary>show the QR code</summary>
<img loading="lazy" src="/account/qr-png/{{profile.id}}" alt="A QrCode containing a direct link to the profile" />
<picture class="block">
<img loading="lazy" src="/account/qr-png/{{profile.id}}" alt="A QrCode containing a direct link to the profile" />
</picture>
</details>
</article>
{% endfor %}