mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(web): grid on people page (#5640)
* fix: grid on people page * pr feedback * wait before width is set * fix: animation * fix: use grid instead --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
bf8e2966c4
commit
29b204de57
3 changed files with 46 additions and 40 deletions
|
|
@ -46,7 +46,7 @@
|
|||
role="group"
|
||||
>
|
||||
<a href="{AppRoute.PEOPLE}/{person.id}?previousRoute={AppRoute.PEOPLE}" draggable="false">
|
||||
<div class="h-48 w-48 rounded-xl brightness-95 filter">
|
||||
<div class="w-full h-full rounded-xl brightness-95 filter">
|
||||
<ImageThumbnail
|
||||
shadow
|
||||
{preload}
|
||||
|
|
|
|||
|
|
@ -16,10 +16,11 @@
|
|||
|
||||
export let showLoadingSpinner: boolean;
|
||||
export let toggleVisibility: boolean;
|
||||
export let screenHeight: number;
|
||||
</script>
|
||||
|
||||
<section
|
||||
transition:fly={{ y: 500, duration: 100, easing: quintOut }}
|
||||
transition:fly={{ y: screenHeight, duration: 150, easing: quintOut, opacity: 1 }}
|
||||
class="absolute left-0 top-0 z-[9999] h-full w-full bg-immich-bg dark:bg-immich-dark-bg"
|
||||
>
|
||||
<div
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue