🐛 Fix background-color when scrolling.

This commit is contained in:
pheralb 2023-12-11 13:39:01 +00:00
parent 89d1553518
commit de3c85fe3c
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
<!DOCTYPE html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
@ -27,7 +27,10 @@
<title>A beautiful library with SVG logos - Svgl</title> <title>A beautiful library with SVG logos - Svgl</title>
%sveltekit.head% %sveltekit.head%
</head> </head>
<body data-sveltekit-preload-data="hover"> <body
data-sveltekit-preload-data="hover"
class="min-h-screen bg-light font-sans text-mini dark:bg-dark dark:text-white"
>
<div>%sveltekit.body%</div> <div>%sveltekit.body%</div>
</body> </body>
</html> </html>

View File

@ -28,7 +28,7 @@
import Theme from '@/components/theme.svelte'; import Theme from '@/components/theme.svelte';
</script> </script>
<main class="min-h-screen bg-light font-sans text-mini dark:bg-dark dark:text-white"> <main>
<nav <nav
class="z-50 w-full overflow-y-auto overflow-x-hidden border-b border-neutral-300 dark:border-neutral-800 md:fixed md:left-0 md:top-0 md:h-full md:w-60 md:border-none md:pb-10" class="z-50 w-full overflow-y-auto overflow-x-hidden border-b border-neutral-300 dark:border-neutral-800 md:fixed md:left-0 md:top-0 md:h-full md:w-60 md:border-none md:pb-10"
> >