diff --git a/public/css/tagrendering.css b/public/css/tagrendering.css index d2f559e55..b557bf1c6 100644 --- a/public/css/tagrendering.css +++ b/public/css/tagrendering.css @@ -40,6 +40,8 @@ .mapping-icon-small { /* A mapping icon type */ width: 1.5rem; + height: fit-content; + max-height: 1.5rem; margin-right: 0.5rem; } @@ -47,19 +49,19 @@ .mapping-icon-medium { /* A mapping icon type */ width: 3rem; + height: fit-content; max-height: 3rem; - margin-right: 1rem; - margin-left: 0.5rem; + margin-right: 1rem } .mapping-icon-large { /* A mapping icon type */ width: 6rem; + height: fit-content; max-height: 5rem; margin-top: 0.5rem; margin-bottom: 0.5rem; margin-right: 1.5rem; - margin-left: 0.5rem; } diff --git a/src/UI/Map/Marker.svelte b/src/UI/Map/Marker.svelte index c9fd47729..f00d80496 100644 --- a/src/UI/Map/Marker.svelte +++ b/src/UI/Map/Marker.svelte @@ -40,7 +40,7 @@ {#if iconsParsed !== undefined && iconsParsed.length > 0}
{#each iconsParsed as icon} -
+
{/each} diff --git a/src/UI/Popup/TagRendering/TagRenderingMapping.svelte b/src/UI/Popup/TagRendering/TagRenderingMapping.svelte index 73209c202..9677f7c1c 100644 --- a/src/UI/Popup/TagRendering/TagRenderingMapping.svelte +++ b/src/UI/Popup/TagRendering/TagRenderingMapping.svelte @@ -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