forked from MapComplete/MapComplete
Android: add inset spacers (experimental)
This commit is contained in:
parent
7ce320075d
commit
94949e14a6
5 changed files with 61 additions and 1 deletions
|
|
@ -59,6 +59,7 @@
|
|||
import { PhotoIcon } from "@babeard/svelte-heroicons/outline"
|
||||
import ImageUploadQueue from "../../Logic/ImageProviders/ImageUploadQueue"
|
||||
import QueuedImagesView from "../Image/QueuedImagesView.svelte"
|
||||
import InsetSpacer from "../Base/InsetSpacer.svelte"
|
||||
|
||||
export let state: {
|
||||
favourites: FavouritesFeatureSource
|
||||
|
|
@ -102,6 +103,9 @@
|
|||
</script>
|
||||
|
||||
<div class="low-interaction flex h-full flex-col overflow-hidden" class:hidden={!$shown}>
|
||||
{#if onlyLink}
|
||||
<InsetSpacer height={AndroidPolyfill.getInsetSizes().top} />
|
||||
{/if}
|
||||
<div class="flex justify-between border-b border-black p-2">
|
||||
<h2>
|
||||
<Tr t={t.title} />
|
||||
|
|
@ -330,4 +334,7 @@
|
|||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{#if onlyLink}
|
||||
<InsetSpacer height={AndroidPolyfill.getInsetSizes().bottom} />
|
||||
{/if}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue