fix(theme): fix invalid vp-offset in ssr

pull/2912/merge
Divyansh Singh 5 months ago
parent b360ac88df
commit 9794877347

@ -1,7 +1,10 @@
<script setup lang="ts"> <script setup lang="ts">
import { useWindowSize } from '@vueuse/core' import { useWindowSize } from '@vueuse/core'
const { width: vw } = useWindowSize({ includeScrollbar: false }) const { width: vw } = useWindowSize({
initialWidth: 0,
includeScrollbar: false
})
</script> </script>
<template> <template>

Loading…
Cancel
Save