mirror of
https://github.com/immich-app/immich
synced 2025-06-07 02:09:47 +00:00
feat: responsive-web: shrink mem-lane (#17550)
This commit is contained in:
parent
5548eb0dad
commit
e440cbe353
@ -76,7 +76,7 @@
|
|||||||
<div class="inline-block" use:resizeObserver={({ width }) => (innerWidth = width)}>
|
<div class="inline-block" use:resizeObserver={({ width }) => (innerWidth = width)}>
|
||||||
{#each memoryStore.memories as memory (memory.id)}
|
{#each memoryStore.memories as memory (memory.id)}
|
||||||
<a
|
<a
|
||||||
class="memory-card relative mr-8 last:mr-0 inline-block aspect-[3/4] md:aspect-[4/3] xl:aspect-video h-[215px] rounded-xl"
|
class="memory-card relative mr-8 last:mr-0 inline-block aspect-[3/4] md:aspect-[4/3] max-md:h-[150px] xl:aspect-video h-[215px] rounded-xl"
|
||||||
href="{AppRoute.MEMORY}?{QueryParameter.ID}={memory.assets[0].id}"
|
href="{AppRoute.MEMORY}?{QueryParameter.ID}={memory.assets[0].id}"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
@ -85,7 +85,7 @@
|
|||||||
alt={$t('memory_lane_title', { values: { title: $getAltText(memory.assets[0]) } })}
|
alt={$t('memory_lane_title', { values: { title: $getAltText(memory.assets[0]) } })}
|
||||||
draggable="false"
|
draggable="false"
|
||||||
/>
|
/>
|
||||||
<p class="absolute bottom-2 left-4 z-10 text-lg text-white">
|
<p class="absolute bottom-2 left-4 z-10 text-lg text-white max-md:text-sm">
|
||||||
{$memoryLaneTitle(memory)}
|
{$memoryLaneTitle(memory)}
|
||||||
</p>
|
</p>
|
||||||
<div
|
<div
|
||||||
|
Loading…
x
Reference in New Issue
Block a user