This commit is contained in:
Vanessa 2023-06-11 22:58:48 +08:00
parent 5cad47203a
commit a6ef304562
5 changed files with 12 additions and 53 deletions

View file

@ -25,7 +25,7 @@ export const resize = (protyle: IProtyle) => {
const avHeaderElement = item.firstElementChild.firstElementChild as HTMLElement;
avHeaderElement.style.paddingLeft = paddingLeft;
avHeaderElement.style.paddingRight = paddingRight;
const avBodyElement = item.querySelector(".av__scroll").firstElementChild as HTMLElement
const avBodyElement = item.querySelector(".av__scroll").firstElementChild as HTMLElement;
avBodyElement.style.paddingLeft = paddingLeft;
avBodyElement.style.paddingRight = paddingRight;
}