Fix #29 specify width and height for non-cover images

This commit is contained in:
Max Nuding 2023-04-26 18:52:18 +02:00
parent d65eca1faa
commit fbaedaf45b
Signed by: phlaym
GPG Key ID: A06651BAB6777237
2 changed files with 3 additions and 2 deletions

View File

@ -12,8 +12,8 @@
img { img {
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: 100%;
width: auto; width: 50px;
height: auto; height: 50px;
object-fit: contain; object-fit: contain;
border-radius: 3px; border-radius: 3px;
} }

View File

@ -49,6 +49,7 @@
top: 0.25em; top: 0.25em;
color: white; color: white;
height: 1em; height: 1em;
width: 1em;
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
.icon { .icon {