mirror of
https://github.com/immich-app/immich.git
synced 2024-11-15 18:08:48 -07:00
fix(web): duplicate thumbnail cover full width (#10880)
This commit is contained in:
parent
df10618a7e
commit
f33d5b0a38
@ -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"
|
||||
/>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user