diff --git a/README.md b/README.md index 098c61f..fe34fdb 100644 --- a/README.md +++ b/README.md @@ -130,3 +130,5 @@ Copyright (c) 2018 Norbert Renner and [contributors](https://github.com/nrenner/ Copyright (c) 2014-2021 Denis Pushkarev; [MIT License](https://github.com/zloirock/core-js/blob/master/LICENSE) - [regenerator-runtime](https://github.com/facebook/regenerator/tree/master/packages/regenerator-runtime) Copyright (c) 2014-present, Facebook, Inc.; [MIT License](https://github.com/facebook/regenerator/blob/master/packages/regenerator-runtime/LICENSE) +- [overpass-layer](https://github.com/plepe/overpass-layer) + Copyright (c) 2020 Stephan Bösch-Plepelits; [MIT License](https://github.com/plepe/overpass-layer/blob/master/LICENSE) diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 0000000..98814cd --- /dev/null +++ b/babel.config.js @@ -0,0 +1,5 @@ +module.exports = { + presets: [['@babel/preset-env', {}]], + sourceType: 'script', + exclude: [/node_modules\/(?!overpass-layer\/).*/], +}; diff --git a/babel.config.json b/babel.config.json deleted file mode 100644 index ff0cf28..0000000 --- a/babel.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "presets": [["@babel/preset-env", {}]], - "sourceType": "script", - "exclude": ["node_modules/**"] -} diff --git a/css/style.css b/css/style.css index 867ffeb..175913e 100644 --- a/css/style.css +++ b/css/style.css @@ -45,6 +45,15 @@ table.dataTable { flex: auto; } +/* reduce title font size in overpass popups */ +.leaflet-popup-content h1 { + font-size: 1.2rem; +} + +.overpass-tags th { + vertical-align: top; +} + /* wrap toolbar controls */ .leaflet-top.leaflet-left { bottom: 0; @@ -215,11 +224,14 @@ input#trackname:focus:invalid { /* map click/drag selects text in controls in Firefox because of display flex */ -moz-user-select: none; } -.leaflet-control-container, -#message .alert { +.leaflet-control-container { -moz-user-select: text; } -#message { +#notification_jar .alert { + -moz-user-select: text; + margin-bottom: 10px; +} +#notification_jar { position: absolute; margin: 10px 46px; /* 10 + 26 + 10 */ z-index: 3001; diff --git a/index.html b/index.html index 46cc73a..0747f98 100644 --- a/index.html +++ b/index.html @@ -208,24 +208,26 @@