mirror of
https://github.com/immich-app/immich.git
synced 2025-01-17 01:06:46 +01:00
fix(web): duplicate thumbnail cover full width (#10880)
This commit is contained in:
parent
df10618a7e
commit
f33d5b0a38
1 changed files with 3 additions and 3 deletions
|
@ -21,11 +21,11 @@
|
||||||
? 'bg-immich-primary dark:bg-immich-dark-primary border-immich-primary dark:border-immich-dark-primary'
|
? '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'}"
|
: 'bg-gray-200 dark:bg-gray-800 border-gray-200 dark:border-gray-800'}"
|
||||||
>
|
>
|
||||||
<div class="relative">
|
<div class="relative w-full">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
on:click={() => onSelectAsset(asset)}
|
on:click={() => onSelectAsset(asset)}
|
||||||
class="block relative"
|
class="block relative w-full"
|
||||||
aria-pressed={isSelected}
|
aria-pressed={isSelected}
|
||||||
aria-label={$t('keep')}
|
aria-label={$t('keep')}
|
||||||
>
|
>
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
src={getAssetThumbnailUrl(asset.id)}
|
src={getAssetThumbnailUrl(asset.id)}
|
||||||
alt={getAltText(asset)}
|
alt={getAltText(asset)}
|
||||||
title={assetData}
|
title={assetData}
|
||||||
class="h-60 object-cover rounded-t-xl"
|
class="h-60 object-cover rounded-t-xl w-full"
|
||||||
draggable="false"
|
draggable="false"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue