↑↓to navigate
diff --git a/src/components/ModalVault.svelte b/src/components/ModalVault.svelte
index c0cab8a..285ebff 100644
--- a/src/components/ModalVault.svelte
+++ b/src/components/ModalVault.svelte
@@ -181,20 +181,22 @@
Omnisearch - Vault
-
(searchQuery = e.detail)} />
+
+ (searchQuery = e.detail)} />
-
- {#each resultNotes as result, i}
- (selectedIndex = i)}
- on:click={onClick} />
- {/each}
- {#if !resultNotes.length && searchQuery}
- We found 0 result for your search here.
- {/if}
-
+
+ {#each resultNotes as result, i}
+ (selectedIndex = i)}
+ on:click={onClick} />
+ {/each}
+ {#if !resultNotes.length && searchQuery}
+ We found 0 result for your search here.
+ {/if}
+
+
diff --git a/src/modals.ts b/src/modals.ts
index 91ee5e7..3c70032 100644
--- a/src/modals.ts
+++ b/src/modals.ts
@@ -9,13 +9,13 @@ abstract class OmnisearchModal extends Modal {
constructor(app: App) {
super(app)
- // Remove all the default modal's children (except the close button)
+ // Remove all the default modal's children
// so that we can more easily customize it
const closeEl = this.containerEl.find('.modal-close-button')
this.modalEl.replaceChildren()
this.modalEl.append(closeEl)
this.modalEl.addClass('omnisearch-modal', 'prompt')
- this.modalEl.removeClass('modal')
+ // this.modalEl.removeClass('modal')
this.modalEl.tabIndex = -1
// Setup events that can be listened through the event bus