refactor(notes): let mobile notes size to content
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user