feat(mobile): launch bar config now has a fixed tree

This commit is contained in:
Elian Doran
2025-02-08 10:24:26 +02:00
parent 7b36040b26
commit 57c9e0477e
3 changed files with 29 additions and 1 deletions

View File

@@ -167,6 +167,11 @@ export default class NoteDetailWidget extends NoteContextAwareWidget {
}
this.checkFullHeight();
if (utils.isMobile()) {
const hasFixedTree = this.noteContext?.hoistedNoteId === "_lbMobileRoot";
$("body").toggleClass("force-fixed-tree", hasFixedTree);
}
}
/**