UX: improve 'move wizard' layout

This commit is contained in:
Pieter Vander Vennet 2024-08-01 20:44:37 +02:00
parent 2822eafef6
commit 74b2d38a14
3 changed files with 10 additions and 7 deletions

View file

@ -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}