UI: some small layout tweaks

This commit is contained in:
Pieter Vander Vennet 2024-10-07 00:52:48 +02:00
parent e502c1519d
commit 278590ae62
2 changed files with 5 additions and 1 deletions

View file

@ -58,7 +58,7 @@
{/each}
{#if $favourites.length > 0}
<div class="mt-8 flex">
<div class="mt-8 sm:flex">
<button on:click={() => downloadGeojson()}>
<ArrowDownTray class="h-6 w-6" />
<Tr t={Translations.t.favouritePoi.downloadGeojson} />

View file

@ -28,6 +28,8 @@
{#if $reviews === undefined}
<Loading />
{:else}
<div class="flex flex-col">
{#if $reviews?.length > 0}
<div class="flex flex-col gap-y-1" on:keypress={(e) => console.log("Got keypress", e)}>
{#each $reviews as review (review.sub)}
@ -61,9 +63,11 @@
>
<Tr t={t.reviews_bug} />
</a>
</div>
{/if}
<div class="flex justify-end">
<Mangrove_logo class="h-6 w-6 shrink-0 p-1" />
<Tr cls="text-sm subtle" t={t.attribution} />
</div>
</LoginToggle>