X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/dcd59f06164a299845230ad55c231e6a2fcd338e..9106292ade3ec53e568287c5d72daa0ec7eb9e30:/src/components/SearchSectionDetails.svelte

diff --git a/src/components/SearchSectionDetails.svelte b/src/components/SearchSectionDetails.svelte
index 938b48b..8029fb3 100644
--- a/src/components/SearchSectionDetails.svelte
+++ b/src/components/SearchSectionDetails.svelte
@@ -26,10 +26,10 @@
 
 <form on:submit|preventDefault={handleFormSubmit} class="form-inline" action="details.html">
   <input type="edit"
-         class="form-control form-control-sm"
+         class="form-control form-control-sm mr-1"
          pattern="^[NWR]?[0-9]+$|.*openstreetmap.*"
          value="{api_request_params.osmtype || ''}{api_request_params.osmid || ''}{api_request_params.place_id || ''}" />
-  <input type="submit" class="btn btn-primary btn-sm" value="Show" />
+  <button type="submit" class="btn btn-primary btn-sm">Show</button>
 </form>
 <small class="form-text text-muted">
   OSM type+id (<em>N123</em>, <em>W123</em>, <em>R123</em>),
@@ -39,8 +39,8 @@
 
 <style>
   form .form-control{
-    margin-right: 5px;
-    width: 30em;
+    width: 500px;
+    max-width: 100%;
   }
   .form-text em {
     font-family: monospace;
