feat: limit height of images

This commit is contained in:
Sebin Nyshkim 2023-01-18 13:51:11 +01:00
parent d296e61362
commit 606269cbd4

View file

@ -15,6 +15,11 @@
max-width: var(--refimage-max-width);
margin: 0 auto;
&__image,
&__caption {
flex: 0 0 auto;
}
&__image {
filter: drop-shadow(0.5rem 0.25rem 0.375rem #000);
}
@ -24,7 +29,10 @@
}
img {
display: block;
max-width: 100%;
max-height: 100vh;
margin: auto;
}
}
</style>