Skip to content

High performance self-hosted photo and video management solution.

Fixed drag-and-drop overlay blocks scrolling

Alex Trand327ec6ba4d7
diff --git a/web/src/app.html b/web/src/app.html
index 0381a288e7..58e88d2ff5 100644
--- a/web/src/app.html
+++ b/web/src/app.html
@@ -1,13 +1,15 @@
<!DOCTYPE html>
<html lang="en" class="dark">
- <head>
- <meta charset="utf-8" />
- <link rel="icon" href="%sveltekit.assets%/favicon.png" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- %sveltekit.head%
- </head>
- <body class="bg-immich-bg dark:bg-immich-dark-bg fixed inset-0 w-full h-full">
- <div class="fixed inset-0 w-full h-full">%sveltekit.body%</div>
- </body>
-</html>
+<head>
+ <meta charset="utf-8" />
+ <link rel="icon" href="%sveltekit.assets%/favicon.png" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ %sveltekit.head%
+</head>
+
+<body class="bg-immich-bg dark:bg-immich-dark-bg">
+ <div>%sveltekit.body%</div>
+</body>
+
+</html>
\ No newline at end of file
diff --git a/web/src/routes/+layout.svelte b/web/src/routes/+layout.svelte
index 9c4de1a35c..91740a05d6 100644
--- a/web/src/routes/+layout.svelte
+++ b/web/src/routes/+layout.svelte
@@ -77,7 +77,7 @@
};
</script>
-<main on:dragenter={() => (showUploadCover = true)} class="fixed inset-0 w-full h-full">
+<main on:dragenter={() => (showUploadCover = true)}>
{#if canShow}
<div in:fade={{ duration: 100 }}>
{#if showNavigationLoadingBar}