Vanessa 2024-01-15 23:44:28 +08:00
parent 7d57bd07e7
commit 7c613e5798
3 changed files with 21 additions and 17 deletions

View file

@ -97,7 +97,7 @@ export class Scroll {
if (protyle.block.showAll) {
this.element.classList.add("fn__none");
} else {
if (protyle.block.scroll) {
if (protyle.block.scroll && !protyle.contentElement.classList.contains("fn__none")) {
this.element.classList.remove("fn__none");
} else {
this.element.classList.add("fn__none");