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:
martin
2024-01-09 04:04:38 +01:00
committed by GitHub
parent bf8e2966c4
commit 29b204de57
3 changed files with 46 additions and 40 deletions

View File

@@ -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