fix iphone padding
This commit is contained in:
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user