UI: some small layout tweaks
This commit is contained in:
parent
e502c1519d
commit
278590ae62
2 changed files with 5 additions and 1 deletions
|
@ -58,7 +58,7 @@
|
||||||
{/each}
|
{/each}
|
||||||
|
|
||||||
{#if $favourites.length > 0}
|
{#if $favourites.length > 0}
|
||||||
<div class="mt-8 flex">
|
<div class="mt-8 sm:flex">
|
||||||
<button on:click={() => downloadGeojson()}>
|
<button on:click={() => downloadGeojson()}>
|
||||||
<ArrowDownTray class="h-6 w-6" />
|
<ArrowDownTray class="h-6 w-6" />
|
||||||
<Tr t={Translations.t.favouritePoi.downloadGeojson} />
|
<Tr t={Translations.t.favouritePoi.downloadGeojson} />
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
{#if $reviews === undefined}
|
{#if $reviews === undefined}
|
||||||
<Loading />
|
<Loading />
|
||||||
{:else}
|
{:else}
|
||||||
|
<div class="flex flex-col">
|
||||||
|
|
||||||
{#if $reviews?.length > 0}
|
{#if $reviews?.length > 0}
|
||||||
<div class="flex flex-col gap-y-1" on:keypress={(e) => console.log("Got keypress", e)}>
|
<div class="flex flex-col gap-y-1" on:keypress={(e) => console.log("Got keypress", e)}>
|
||||||
{#each $reviews as review (review.sub)}
|
{#each $reviews as review (review.sub)}
|
||||||
|
@ -61,9 +63,11 @@
|
||||||
>
|
>
|
||||||
<Tr t={t.reviews_bug} />
|
<Tr t={t.reviews_bug} />
|
||||||
</a>
|
</a>
|
||||||
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="flex justify-end">
|
<div class="flex justify-end">
|
||||||
<Mangrove_logo class="h-6 w-6 shrink-0 p-1" />
|
<Mangrove_logo class="h-6 w-6 shrink-0 p-1" />
|
||||||
<Tr cls="text-sm subtle" t={t.attribution} />
|
<Tr cls="text-sm subtle" t={t.attribution} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</LoginToggle>
|
</LoginToggle>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue