mirror of
https://github.com/cosmicoptima/loom.git
synced 2026-07-22 07:40:25 +00:00
Make right sidebar scrollable
This commit is contained in:
parent
0d840be919
commit
55b3f887a8
2 changed files with 5 additions and 1 deletions
2
main.ts
2
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." });
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
.loom-outline {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.loom-children {
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue