fix: memory lane memory title (#18277)

This commit is contained in:
Daniel Dietzler 2025-05-13 23:52:56 +02:00 committed by GitHub
parent 15e894b9b5
commit b3b774cfe5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,12 +85,12 @@
alt={$t('memory_lane_title', { values: { title: $getAltText(memory.assets[0]) } })}
draggable="false"
/>
<p class="absolute bottom-2 start-4 text-lg text-white max-md:text-sm">
{$memoryLaneTitle(memory)}
</p>
<div
class="absolute start-0 top-0 h-full w-full rounded-xl bg-gradient-to-t from-black/40 via-transparent to-transparent transition-all hover:bg-black/20"
></div>
<p class="absolute bottom-2 start-4 text-lg text-white max-md:text-sm">
{$memoryLaneTitle(memory)}
</p>
</a>
{/each}
</div>