Limit thumbnail size.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user