diff --git a/main.ts b/main.ts index 298cd19..322b411 100644 --- a/main.ts +++ b/main.ts @@ -572,7 +572,7 @@ class LoomView extends ItemView { this.containerEl.empty(); const state = this.getNoteState(); - const container = this.containerEl.createDiv({ cls: "outline" }); + const container = this.containerEl.createDiv({ cls: "loom-outline outline" }); if (!state) { container.createEl("div", { cls: "pane-empty", text: "No note selected." }); diff --git a/styles.css b/styles.css index bcf020b..15db512 100644 --- a/styles.css +++ b/styles.css @@ -1,3 +1,7 @@ +.loom-outline { + overflow-y: auto; +} + .loom-children { margin-left: 1em; }