Update preview indicator offsets

This commit is contained in:
Andrew Kingston 2022-05-17 14:34:54 +01:00
parent 976904686e
commit 4256ee4702
2 changed files with 2 additions and 2 deletions

View File

@ -375,7 +375,7 @@
if (!node) { if (!node) {
return return
} }
node.style.scrollMargin = "86px" node.style.scrollMargin = "100px"
node.scrollIntoView({ node.scrollIntoView({
behavior: "smooth", behavior: "smooth",
block: "start", block: "start",

View File

@ -6,7 +6,7 @@
import { builderStore, componentStore } from "stores" import { builderStore, componentStore } from "stores"
import { domDebounce } from "utils/domDebounce" import { domDebounce } from "utils/domDebounce"
const verticalOffset = 34 const verticalOffset = 36
const horizontalOffset = 2 const horizontalOffset = 2
let top = 0 let top = 0