fix iphone padding

This commit is contained in:
2023-06-01 21:32:25 +02:00
parent 8fe704744f
commit 27ba4c6b3d

View File

@@ -91,9 +91,10 @@ const topBarHeightWithSafeArea = computed(() => `calc(${topBarHeight}px + var(--
/> />
</Transition> </Transition>
<main <main
class="transition[margin-left] z-10 mx-auto flex h-full w-full max-w-app flex-col overflow-y-auto border-x-[1px] bg-white px-10 py-6 duration-200 ease-out max-sm:px-4 max-sm:py-3" class="transition[margin-left] z-10 mx-auto flex h-full w-full max-w-app flex-col overflow-y-auto border-x-[1px] bg-white duration-200 ease-out pb-[var(--safe-area-bottom)]"
:class="sideBarCollapsed ? 'ml-0' : 'sm:ml-sidebar'" :class="sideBarCollapsed ? 'ml-0' : 'sm:ml-sidebar'"
> >
<div class="flex h-full px-10 py-6 max-sm:px-4 max-sm:py-3">
<template v-if="!loading"> <template v-if="!loading">
<Note <Note
v-if="activeViewMode.name === 'Note' && activeNote" v-if="activeViewMode.name === 'Note' && activeNote"
@@ -106,6 +107,7 @@ const topBarHeightWithSafeArea = computed(() => `calc(${topBarHeight}px + var(--
<Mindmap v-else-if="activeViewMode.name === 'Mindmap'" /> <Mindmap v-else-if="activeViewMode.name === 'Mindmap'" />
</template> </template>
<SkeletonNote v-else /> <SkeletonNote v-else />
</div>
</main> </main>
</div> </div>
<UIModal :open="passphraseRequired" :persistent="true"> <UIModal :open="passphraseRequired" :persistent="true">