Remove unused code and update packages

This commit is contained in:
2022-09-23 10:07:01 +02:00
parent 2b30f3b07a
commit b764b4d1d1
6 changed files with 144 additions and 170 deletions

View File

@@ -20,6 +20,7 @@
export let data: PageData
let innerHeight: number
$: innerHeight && document.body.style.setProperty('--vh', `${innerHeight}px`)
// Fonts to preload
const fonts = [
@@ -59,8 +60,6 @@
// Avoid FOUC
document.body.style.opacity = '1'
})
$: innerHeight && document.body.style.setProperty('--vh', `${innerHeight}px`)
</script>
<svelte:window bind:innerHeight />