fix(web): duplicate thumbnail cover full width (#10880)

This commit is contained in:
Michel Heusschen 2024-07-05 12:51:28 +02:00 committed by GitHub
parent df10618a7e
commit f33d5b0a38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,11 +21,11 @@
? 'bg-immich-primary dark:bg-immich-dark-primary border-immich-primary dark:border-immich-dark-primary'
: 'bg-gray-200 dark:bg-gray-800 border-gray-200 dark:border-gray-800'}"
>
<div class="relative">
<div class="relative w-full">
<button
type="button"
on:click={() => onSelectAsset(asset)}
class="block relative"
class="block relative w-full"
aria-pressed={isSelected}
aria-label={$t('keep')}
>
@ -34,7 +34,7 @@
src={getAssetThumbnailUrl(asset.id)}
alt={getAltText(asset)}
title={assetData}
class="h-60 object-cover rounded-t-xl"
class="h-60 object-cover rounded-t-xl w-full"
draggable="false"
/>