サムネイルがはみ出さないようにした
This commit is contained in:
parent
2763e77dc3
commit
a74230ce8a
1 changed files with 3 additions and 4 deletions
|
@ -50,13 +50,12 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
aspect-ratio: 1/0.6;
|
aspect-ratio: 1/0.6;
|
||||||
max-height: 200px;
|
max-height: 200px;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
img {
|
img {
|
||||||
display: block;
|
width: 100%;
|
||||||
max-width: 100%;
|
height: 100%;
|
||||||
max-height: 100%;
|
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
margin-inline: auto;
|
|
||||||
transition: transform .3s ease-out;
|
transition: transform .3s ease-out;
|
||||||
}
|
}
|
||||||
.emoji {
|
.emoji {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue