1
0
Fork 0
mirror of synced 2024-09-15 00:38:01 +12:00

Update preview indicator offsets

This commit is contained in:
Andrew Kingston 2022-05-17 14:34:54 +01:00
parent 8cdbb690eb
commit 3c8558e1a0
2 changed files with 2 additions and 2 deletions

View file

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

View file

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