Vanessa 2025-07-09 10:28:11 +08:00
parent 7938755578
commit 2bbe0933b0
2 changed files with 2 additions and 2 deletions

View file

@ -217,7 +217,7 @@ ${view.hideAttrViewName ? " av__gallery--top" : ""}">
}
}
}
options.blockElement.querySelector(".layout-tab-bar").scrollLeft = (options.blockElement.querySelector(".layout-tab-bar .item--focus") as HTMLElement).offsetLeft;
options.blockElement.querySelector(".layout-tab-bar").scrollLeft = (options.blockElement.querySelector(".layout-tab-bar .item--focus") as HTMLElement).offsetLeft - 30;
if (options.cb) {
options.cb(response.data);
}