refactor(notes): let mobile notes size to content

This commit is contained in:
Julien Calixte
2026-04-29 11:09:31 +02:00
parent 17f015b686
commit 3e9418285f
2 changed files with 1 additions and 5 deletions

View File

@@ -18,9 +18,7 @@ export const useResizeContainer = (
return
}
if (isMobile.value) {
container.style.height = `${(stackedNotes.value.length + 1) * 100}dvh`
} else {
if (!isMobile.value) {
container.style.minWidth = `${
getNoteWidth() * (stackedNotes.value.length + 1)
}px`