diff --git a/css/default.css b/css/default.css index 3d13e6a3..044e2d67 100644 --- a/css/default.css +++ b/css/default.css @@ -359,8 +359,6 @@ kbd { background-color: #e1e3e5; border: 1px solid #adb3b8; border-radius: 3px; - box-shadow: - 0 1px 0 rgba(12, 13, 14, 0.2), - 0 0 0 2px #fff inset; + box-shadow: 0 1px 0 rgba(12, 13, 14, 0.2), 0 0 0 2px #fff inset; white-space: nowrap; } diff --git a/index.html b/index.html index 9f603154..5b6e70c6 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - + switch to a more capable one! Recent versions of Opera, Chrome - and Firefox have - been tested to work. Alternatively, you can still use the + and Firefox have been + tested to work. Alternatively, you can still use the Overpass_API query form diff --git a/js/ide.ts b/js/ide.ts index 3ba4101a..a03eb3d4 100644 --- a/js/ide.ts +++ b/js/ide.ts @@ -1541,16 +1541,18 @@ class IDE { queryWithMapCSS += `{{data:${this.queryParser.getStatement("data")}}}`; else if (settings.server !== configs.defaultServer) queryWithMapCSS += `{{data:overpass,server=${settings.server}}}`; - $("#export-dialog a#export-interactive-map")[0].href = - `${baseurl}map.html?${new URLSearchParams({ - Q: queryWithMapCSS - })}`; + $( + "#export-dialog a#export-interactive-map" + )[0].href = `${baseurl}map.html?${new URLSearchParams({ + Q: queryWithMapCSS + })}`; // encoding exclamation marks for better command line usability (bash) - $("#export-dialog a#export-overpass-api")[0].href = - `${server}interpreter?data=${encodeURIComponent(query) - .replace(/!/g, "%21") - .replace(/\(/g, "%28") - .replace(/\)/g, "%29")}`; + $( + "#export-dialog a#export-overpass-api" + )[0].href = `${server}interpreter?data=${encodeURIComponent(query) + .replace(/!/g, "%21") + .replace(/\(/g, "%28") + .replace(/\)/g, "%29")}`; function toDataURL(text, mediatype) { return `data:${mediatype || "text/plain"};charset=${ document.characterSet || document.charset @@ -2047,21 +2049,24 @@ class IDE { return false; }); - $("#export-dialog a#export-convert-xml")[0].href = - `${server}convert?${new URLSearchParams({ - data: query, - target: "xml" - })}`; - $("#export-dialog a#export-convert-ql")[0].href = - `${server}convert?${new URLSearchParams({ - data: query, - target: "mapql" - })}`; - $("#export-dialog a#export-convert-compact")[0].href = - `${server}convert?${new URLSearchParams({ - data: query, - target: "compact" - })}`; + $( + "#export-dialog a#export-convert-xml" + )[0].href = `${server}convert?${new URLSearchParams({ + data: query, + target: "xml" + })}`; + $( + "#export-dialog a#export-convert-ql" + )[0].href = `${server}convert?${new URLSearchParams({ + data: query, + target: "mapql" + })}`; + $( + "#export-dialog a#export-convert-compact" + )[0].href = `${server}convert?${new URLSearchParams({ + data: query, + target: "compact" + })}`; // OSM editors // first check for possible mistakes in query. diff --git a/land.html b/land.html index 0378def3..151f58c8 100644 --- a/land.html +++ b/land.html @@ -1,4 +1,4 @@ - + diff --git a/map.html b/map.html index 3540ef23..6488c3db 100644 --- a/map.html +++ b/map.html @@ -1,4 +1,4 @@ - +