Skip to content

Commit 1429843

Browse files
committed
Revert "vault backup: 2024-07-02T12:43:44"
This reverts commit 26a7126.
1 parent 4dab42e commit 1429843

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

quartz/components/scripts/explorer.inline.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FolderState } from "../ExplorerNode";
1+
import { FolderState } from "../ExplorerNode"
22

33
type MaybeHTMLElement = HTMLElement | undefined
44
let currentExplorerState: FolderState[]
@@ -21,8 +21,7 @@ function toggleExplorer(this: HTMLElement) {
2121
if (!content) return
2222

2323
content.classList.toggle("collapsed")
24-
// content.style.maxHeight = content.style.maxHeight === "0px" ? content.scrollHeight + "px" : "0px"
25-
content.style.height = "100%"
24+
content.style.maxHeight = content.style.maxHeight === "0px" ? content.scrollHeight + "px" : "0px"
2625
}
2726

2827
function toggleFolder(evt: MouseEvent) {

0 commit comments

Comments
 (0)