From abb6922c2b79edae50dcf3e74762c16ca50350d6 Mon Sep 17 00:00:00 2001 From: Lukas Date: Thu, 8 Feb 2024 05:15:51 +0100 Subject: [PATCH] fix: set default thumbnail aspect ratio to square (#6970) --- web/src/lib/components/assets/thumbnail/image-thumbnail.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/lib/components/assets/thumbnail/image-thumbnail.svelte b/web/src/lib/components/assets/thumbnail/image-thumbnail.svelte index c7aa0b6d83..9c82ad77b7 100644 --- a/web/src/lib/components/assets/thumbnail/image-thumbnail.svelte +++ b/web/src/lib/components/assets/thumbnail/image-thumbnail.svelte @@ -47,6 +47,7 @@ class:rounded-xl={curve} class:shadow-lg={shadow} class:rounded-full={circle} + class:aspect-square={circle || !heightStyle} class:opacity-0={!thumbhash && !complete} draggable="false" />