fix(docs): set opacity on intro until el are set

This commit is contained in:
braks
2024-02-03 12:20:51 +01:00
parent 1c54e39c3a
commit da8f82a60b
+1 -1
View File
@@ -189,7 +189,7 @@ function scrollTo() {
</script>
<template>
<VueFlow ref="el">
<VueFlow ref="el" :style="{ opacity: !!currentBreakpoint ? 1 : 0 }">
<Background id="dots" pattern-color="#aaa" :size="0.75" :gap="25" />
<Background id="lines" variant="lines" :pattern-color="isDark ? '#fff' : '#000'" :size="1" :gap="100" />