UX: work on layout

This commit is contained in:
Pieter Vander Vennet 2024-06-16 19:00:43 +02:00
parent a87e3376e0
commit d6a20b7222
43 changed files with 5086 additions and 838 deletions

View file

@ -34,8 +34,8 @@
</script>
{#if $showButton}
<div class="flex">
<button class="small soft flex grow items-center" on:click={openJosm}>
<div class="flex flex-col">
<button class="as-link" on:click={openJosm}>
<Josm_logo class="h-6 w-6 pr-2" />
<Tr t={t.editJosm} />
</button>

View file

@ -1,7 +1,7 @@
<script lang="ts">
import Share from "../../assets/svg/Share.svelte"
import { ariaLabel } from "../../Utils/ariaLabel"
import Translations from "../i18n/Translations"
import Share from "@babeard/svelte-heroicons/solid/Share"
export let generateShareData: () => {
text: string
@ -38,8 +38,8 @@
</slot>
</button>
{:else}
<button on:click={share}>
<Share class="h-8 w-8 pr-2" />
<button on:click={share} class="w-full">
<Share class="h-8 w-8" />
{text}
</button>
{/if}