]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/components/DetailsPostcodeHint.svelte
Reverse map: show search position (red circle) also when no search results
[nominatim-ui.git] / src / components / DetailsPostcodeHint.svelte
index 23999572229a4926eb39197bef1007c6663e8d3c..5946d2ad62c0396aa5e46f9b6c146ce9d5bb8301 100644 (file)
 (<a href="#openHint" on:click|preventDefault|stopPropagation={openHint}>how?</a>)
 
 <div id="postcode-hint" class="my-2 p-2">
-  <button type="button" class="close" aria-label="Close" on:click|stopPropagation={closeHint}>
-    <span aria-hidden="true">&times;</span>
-  </button>
+  <button type="button" class="btn-close float-end m-1" aria-label="Close" on:click|stopPropagation={closeHint} />
 
-  Nightly calculated from nearby places having this postcode.
-  <a href="https://nominatim.org/release-docs/latest/develop/Postcodes/">Documentation</a>.
-  You can search for those with an <a href={url} target="_blank" rel="noreferrer">Overpass Turbo query</a>.
+  <p>
+    Nightly calculated from nearby places having this postcode.
+    <a href="https://nominatim.org/release-docs/latest/admin/Maintenance/#updating-postcodes">Documentation</a>.
+  </p>
+  <p>
+    You can search for those with an <a href={url} target="_blank" rel="noreferrer">Overpass Turbo query</a>.
+  </p>
+  <p>
+    <a href="https://nominatim.org/2022/06/26/state-of-postcodes.html" target="_blank" rel="noreferrer">How Nominatim uses postcodes</a>.
 </div>
 
 <style>
@@ -62,7 +66,4 @@
     background-color: #ededff;
     display: none;
   }
-  .close {
-    font-size: 1rem;
-  }
 </style>
\ No newline at end of file