Make right sidebar scrollable

This commit is contained in:
celeste 2023-02-26 15:15:37 -08:00
parent 0d840be919
commit 55b3f887a8
2 changed files with 5 additions and 1 deletions

View file

@ -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." });

View file

@ -1,3 +1,7 @@
.loom-outline {
overflow-y: auto;
}
.loom-children {
margin-left: 1em;
}