Skip to content

Commit

Permalink
UI: fix icon outline
Browse files Browse the repository at this point in the history
  • Loading branch information
pietervdvn committed Oct 8, 2024
1 parent 7060f7c commit a8abc02
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/UI/Search/GeocodeResult.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@
<button class="unstyled w-full link-no-underline searchresult" on:click={() => select() }>
<div class="p-2 flex items-center w-full gap-y-2">
{#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}
<Icon icon={GeocodingUtils.categoryToIcon[entry.category]} clss="w-6 h-6 shrink-0" color="#aaa" />
{/if}
Expand Down

0 comments on commit a8abc02

Please sign in to comment.