Remove top margin override and add more elements

This commit is contained in:
Idrees Hassan committed 2025-11-13 19:53:10 -05:00
1 parent 71bb8204e2
commit 042d0e3b07
8 files changed
+23 -38

No files matched your search

+3 -6
View File
@@ -256,17 +256,14 @@ class ObsidianContext extends Context {
this.putSaveData({});
}
/** @override */
getFocusElementTopMargin() {
return 10;
}
/** @override */
getFocusableElements() {
const elements = [
".workspace-leaf",
".cm-callout",
".HyperMD-codeblock-begin"
".HyperMD-codeblock-begin",
".status-bar",
".mobile-navbar"
];
return super.getFocusableElements().concat(elements);
}