Vanessa 2023-01-26 22:52:22 +08:00
parent 1da805255b
commit 62e35b5c52
12 changed files with 55 additions and 44 deletions

View file

@ -39,7 +39,7 @@ export const setTabPosition = () => {
}
} else {
if (rect.top <= 0 && rect.right >= window.innerWidth) {
(headerElement.lastElementChild as HTMLElement).style.paddingRight = (32 * 3) + "px";
(headerElement.lastElementChild as HTMLElement).style.paddingRight = (42 * 3) + "px";
} else {
(headerElement.lastElementChild as HTMLElement).style.paddingRight = "";
}