mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-12 18:24:21 +01:00
This commit is contained in:
parent
7d57bd07e7
commit
7c613e5798
3 changed files with 21 additions and 17 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue