Fix #29 specify width and height for non-cover images
This commit is contained in:
parent
d65eca1faa
commit
fbaedaf45b
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user