サムネイルがはみ出さないようにした

This commit is contained in:
moris 2025-04-03 15:41:58 +09:00
parent 2763e77dc3
commit a74230ce8a

View file

@ -50,13 +50,12 @@
justify-content: center;
aspect-ratio: 1/0.6;
max-height: 200px;
max-width: 100%;
}
img {
display: block;
max-width: 100%;
max-height: 100%;
width: 100%;
height: 100%;
object-fit: contain;
margin-inline: auto;
transition: transform .3s ease-out;
}
.emoji {