1
0
Fork 0
mirror of synced 2024-07-04 14:01:27 +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) {
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