forked from MapComplete/MapComplete
UX: improve 'move wizard' layout
This commit is contained in:
parent
2822eafef6
commit
74b2d38a14
3 changed files with 10 additions and 7 deletions
|
@ -38,6 +38,7 @@
|
|||
import { Utils } from "../../Utils"
|
||||
import Gear from "../../assets/svg/Gear.svelte"
|
||||
import { DesktopComputerIcon } from "@rgossiaux/svelte-heroicons/solid"
|
||||
import Relocation from "../../assets/svg/Relocation.svelte"
|
||||
|
||||
/**
|
||||
* Renders a single icon.
|
||||
|
@ -137,8 +138,10 @@
|
|||
<LinkIcon style="--svg-color: {color}" />
|
||||
{:else if icon === "wifi"}
|
||||
<WifiIcon class={"m-0 " +clss} {color} />
|
||||
{:else if icon === "computer"}
|
||||
{:else if icon === "computer"}
|
||||
<DesktopComputerIcon class={"m-0 "+clss} {color} />
|
||||
{:else if icon === "relocation"}
|
||||
<Relocation class={clss} {color} />
|
||||
{:else if Utils.isEmoji(icon)}
|
||||
<span style={`font-size: ${emojiHeight}px; line-height: ${emojiHeight}px`}>
|
||||
{icon}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue