1
0
Fork 0
mirror of synced 2024-07-07 07:15:43 +12:00

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