Limit thumbnail size.

This commit is contained in:
Dermot Duffy
2022-01-14 21:31:16 -08:00
parent 73caa5d52a
commit 225b272a85
+4
View File
@@ -21,4 +21,8 @@
// should be clipped to fill the thumbnail div whilst maintaining // should be clipped to fill the thumbnail div whilst maintaining
// aspect-ratio. // aspect-ratio.
object-fit: cover; object-fit: cover;
// Restrict images to a maximum of thumbnail size.
max-width: var(--frigate-card-carousel-thumbnail-size);
max-height: var(--frigate-card-carousel-thumbnail-size);
} }