Better compass arrow

This commit is contained in:
Pieter Vander Vennet 2023-12-18 01:30:02 +01:00
parent ba47d1bfad
commit 82409984dc
15 changed files with 219 additions and 114 deletions

View file

@ -12,11 +12,12 @@
export let arialabel: Translation = undefined
</script>
<button
on:click={(e) => dispatch("click", e)}
on:keydown
use:ariaLabel={arialabel}
class={twJoin("pointer-events-auto h-fit w-fit rounded-full", cls)}
class={twJoin("relative pointer-events-auto h-fit w-fit rounded-full", cls)}
>
<slot />
</button>