X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/9e8d3367fe08a708b1019ff39ac752e0105be20a..90f2f8630fb1f10fdf7efd7d3dece86517cb2e7c:/src/components/ReverseLink.svelte

diff --git a/src/components/ReverseLink.svelte b/src/components/ReverseLink.svelte
index f6657de..2fd2c4c 100644
--- a/src/components/ReverseLink.svelte
+++ b/src/components/ReverseLink.svelte
@@ -4,6 +4,7 @@ import { refresh_page } from '../lib/stores.js';
 export let lat;
 export let lon;
 export let zoom = null;
+export let extra_classes = '';
 
 let params = new URLSearchParams();
 let href = 'reverse.html';
@@ -29,4 +30,4 @@ $: {
 }
 </script>
 
-<a on:click|preventDefault|stopPropagation={() => refresh_page('reverse', params)} href={href}><slot></slot></a>
+<a on:click|preventDefault|stopPropagation={() => refresh_page('reverse', params)} href={href} class={extra_classes}><slot></slot></a>
