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)}