UI: fix icon outline
This commit is contained in:
parent
7060f7cf6c
commit
a8abc0224e
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@
|
||||||
<button class="unstyled w-full link-no-underline searchresult" on:click={() => select() }>
|
<button class="unstyled w-full link-no-underline searchresult" on:click={() => select() }>
|
||||||
<div class="p-2 flex items-center w-full gap-y-2">
|
<div class="p-2 flex items-center w-full gap-y-2">
|
||||||
{#if layer}
|
{#if layer}
|
||||||
<ToSvelte construct={() => layer.defaultIcon(entry.feature.properties)?.SetClass("w-6 h-6")} />
|
<div class="h-6">
|
||||||
|
<ToSvelte construct={() => layer.defaultIcon(entry.feature.properties)?.SetClass("w-6 h-6")} />
|
||||||
|
</div>
|
||||||
{:else if entry.category}
|
{:else if entry.category}
|
||||||
<Icon icon={GeocodingUtils.categoryToIcon[entry.category]} clss="w-6 h-6 shrink-0" color="#aaa" />
|
<Icon icon={GeocodingUtils.categoryToIcon[entry.category]} clss="w-6 h-6 shrink-0" color="#aaa" />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
Loading…
Reference in a new issue