Focus on and fold notes by clicking

Also tweaks the look a bit, of course.
This commit is contained in:
Joscha 2025-02-05 22:44:15 +01:00
parent 37f1b0e9d1
commit 21cd015ada
2 changed files with 52 additions and 21 deletions

View file

@ -9,8 +9,8 @@ const ui = useUiStore();
<template>
<div class="flex h-screen touch-pan-x touch-pan-y flex-col">
<CNavbar />
<div class="h-full overflow-auto px-2 py-1">
<CNote :noteId="ui.anchor" :focusPath="ui.focusPath" />
<div class="h-full overflow-auto p-1">
<CNote :noteId="ui.anchor" :path="[]" :focusPath="ui.focusPath" />
</div>
</div>
</template>