X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/d429667c4eb8ef7968a96612b3615ccf0bb1fccc..438f28dde974881d2628fcf9a9cc1a811e90ebe1:/src/components/SearchSection.svelte?ds=sidebyside diff --git a/src/components/SearchSection.svelte b/src/components/SearchSection.svelte index 0246605..e50bbdf 100644 --- a/src/components/SearchSection.svelte +++ b/src/components/SearchSection.svelte @@ -69,7 +69,7 @@ } function set_dedupe(e) { - document.querySelector('input[name=dedupe]').value = e.target.checked ? 1 : ''; + document.querySelector('input[name=dedupe]').value = e.target.checked ? 1 : 0; } function set_api_param(e) { @@ -79,30 +79,33 @@
- - -
+
+ +
+
- + - +
@@ -110,32 +113,44 @@
- - - - - - - -
- +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ - + - +
@@ -167,14 +182,14 @@
+ id="option_dedupe" checked={api_request_params.dedupe === 0 ? 0 : 1} on:change={set_dedupe}>
  • @@ -182,7 +197,7 @@
  • @@ -196,10 +211,11 @@
  • - +
  • @@ -214,23 +230,10 @@ .nav-link { padding: 0.1rem 1rem; } - .tab-content { - display: flex; - align-items: baseline - } #q { - min-width: 500px; - } - @media (max-width: 850px) { - #q { - min-width: 400px; - } - } - @media (max-width: 768px) { - .search-button-group { - display: inline; - } + width: 500px; + max-width: 100%; } #searchAdvancedOptions ul {