Skip to content

Commit

Permalink
fix(web): use fixed position for download and upload panel (#11279)
Browse files Browse the repository at this point in the history
  • Loading branch information
michelheusschen authored Jul 22, 2024
1 parent b53bd8c commit 950cd5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/lib/components/asset-viewer/download-panel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{#if $isDownloading}
<div
transition:fly={{ x: -100, duration: 350 }}
class="absolute bottom-10 left-2 z-[10000] max-h-[270px] w-[315px] rounded-2xl border bg-immich-bg p-4 text-sm shadow-sm"
class="fixed bottom-10 left-2 z-[10000] max-h-[270px] w-[315px] rounded-2xl border bg-immich-bg p-4 text-sm shadow-sm"
>
<p class="mb-2 text-xs text-gray-500">{$t('downloading').toUpperCase()}</p>
<div class="my-2 mb-2 flex max-h-[200px] flex-col overflow-y-auto text-sm">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
}
uploadAssetsStore.resetStore();
}}
class="absolute bottom-6 right-6 z-[10000]"
class="fixed bottom-6 right-6 z-[10000]"
>
{#if showDetail}
<div
Expand Down

0 comments on commit 950cd5d

Please sign in to comment.