UI: Css tweaks

This commit is contained in:
Pieter Vander Vennet 2023-12-29 22:46:02 +01:00
parent 27afaf7ad8
commit 5b6434a5d2
10 changed files with 113 additions and 95 deletions

View file

@ -3,6 +3,7 @@
import Svg from "../../Svg"
import ToSvelte from "../Base/ToSvelte.svelte"
import { Utils } from "../../Utils"
import { Store } from "../../Logic/UIEventSource"
export let tags: Store<OsmTags>
export let args: string[]
@ -12,7 +13,7 @@
"mailto:" + to + "?subject=" + encodeURIComponent(subject) + "&body=" + encodeURIComponent(body)
</script>
<a class="button flex w-full items-center" href={url}>
<a class="button flex w-full items-center" href={url} style="margin-left: 0">
<ToSvelte construct={Svg.envelope_svg().SetClass("w-8 h-8 mr-4 shrink-0")} />
{button_text}
</a>