forked from MapComplete/MapComplete
UI: fix icon alignment
This commit is contained in:
parent
fd16e165c4
commit
953bdaeaa5
3 changed files with 6 additions and 5 deletions
|
|
@ -40,7 +40,7 @@
|
|||
{#if iconsParsed !== undefined && iconsParsed.length > 0}
|
||||
<div class={twMerge("relative", size)}>
|
||||
{#each iconsParsed as icon}
|
||||
<div class="absolute top-0 left-0 h-full w-full">
|
||||
<div class="absolute top-0 left-0 h-full w-full flex items-center">
|
||||
<Icon icon={icon.icon} color={icon.color} {clss} />
|
||||
</div>
|
||||
{/each}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
import { UIEventSource } from "../../../Logic/UIEventSource"
|
||||
import LayerConfig from "../../../Models/ThemeConfig/LayerConfig"
|
||||
import { twJoin } from "tailwind-merge"
|
||||
import Icon from "../../Map/Icon.svelte"
|
||||
import Marker from "../../Map/Marker.svelte"
|
||||
|
||||
export let selectedElement: Feature
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue