From cc1b22f0523b6b8fd5a1b7f190b7d2e5ce0ede3e Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Mon, 10 Aug 2026 09:31:54 +0200 Subject: [PATCH] fix: show complete Immich photos in advanced mode --- .../src/immich/album-carousel/component.module.css | 5 +++++ packages/widgets/src/immich/album-carousel/component.tsx | 9 +++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/widgets/src/immich/album-carousel/component.module.css b/packages/widgets/src/immich/album-carousel/component.module.css index ab23cb8ec..e0c0393a6 100644 --- a/packages/widgets/src/immich/album-carousel/component.module.css +++ b/packages/widgets/src/immich/album-carousel/component.module.css @@ -14,6 +14,11 @@ background-color: var(--mantine-color-gray-8); } +.carouselImage[data-fit="contain"] { + object-fit: contain; + background-color: var(--mantine-color-black); +} + .photoInfo { position: absolute; bottom: 0; diff --git a/packages/widgets/src/immich/album-carousel/component.tsx b/packages/widgets/src/immich/album-carousel/component.tsx index a0bb5f416..6d1593afd 100644 --- a/packages/widgets/src/immich/album-carousel/component.tsx +++ b/packages/widgets/src/immich/album-carousel/component.tsx @@ -153,7 +153,12 @@ function Carousel({ return ( - {t("albumPhoto")} + {t("albumPhoto")} {assets.length > 1 && ( - {assets.slice(0, 24).map((asset, index) => ( + {assets.map((asset, index) => ( setCurrentIndex(index)}