We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4dab42e commit 1429843Copy full SHA for 1429843
quartz/components/scripts/explorer.inline.ts
@@ -1,4 +1,4 @@
1
-import { FolderState } from "../ExplorerNode";
+import { FolderState } from "../ExplorerNode"
2
3
type MaybeHTMLElement = HTMLElement | undefined
4
let currentExplorerState: FolderState[]
@@ -21,8 +21,7 @@ function toggleExplorer(this: HTMLElement) {
21
if (!content) return
22
23
content.classList.toggle("collapsed")
24
- // content.style.maxHeight = content.style.maxHeight === "0px" ? content.scrollHeight + "px" : "0px"
25
- content.style.height = "100%"
+ content.style.maxHeight = content.style.maxHeight === "0px" ? content.scrollHeight + "px" : "0px"
26
}
27
28
function toggleFolder(evt: MouseEvent) {
0 commit comments