We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30d7dbe commit 26a7126Copy full SHA for 26a7126
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,7 +21,8 @@ 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"
+ // content.style.maxHeight = content.style.maxHeight === "0px" ? content.scrollHeight + "px" : "0px"
25
+ content.style.height = "100%"
26
}
27
28
function toggleFolder(evt: MouseEvent) {
0 commit comments