Fix images being clipped when there's not enough space for them
https://pixwhile.zangetsu.kaizoku.cyou/artworks/61001755 https://pixwhile.zangetsu.kaizoku.cyou/artworks/77622196
This commit is contained in:
parent
43446801b3
commit
5afccd3616
|
@ -28,8 +28,8 @@ static const constexpr char css[] = R"EOF(
|
|||
font-family: sans-serif;
|
||||
}
|
||||
img {
|
||||
object-fit: cover;
|
||||
max-width: 100%;
|
||||
height: auto; /* https://stackoverflow.com/a/17183996 */
|
||||
}
|
||||
.center {
|
||||
text-align: center;
|
||||
|
|
Loading…
Reference in New Issue