Update preview indicator offsets
This commit is contained in:
parent
8cdbb690eb
commit
3c8558e1a0
|
@ -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",
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue