diff --git a/src/CategoryOverpass.js b/src/CategoryOverpass.js index 259581ce..5fdff720 100644 --- a/src/CategoryOverpass.js +++ b/src/CategoryOverpass.js @@ -52,6 +52,7 @@ var defaultValues = { '{% endif %}' + '' + '
' + + '{% if object.listDetails or object.details %}
{{ object.listDetails|default(object.details) }}
{% endif %}' + '{% if object.listDescription or object.description %}
{{ object.listDescription|default(object.description) }}
{% endif %}' + '{% if object.listTitle or object.title %}
{{ object.listTitle|default(object.title) }}
{% endif %}' + '
' + diff --git a/style.css b/style.css index 55af0c43..8a9de56e 100644 --- a/style.css +++ b/style.css @@ -434,6 +434,10 @@ ul.overpass-layer-list > li:hover, ul.overpass-layer-list > li.selected { background: #cfcfcf !important; } +ul.overpass-layer-list > li > a { + display: block; + width: 100%; +} ul.overpass-layer-list > li > a > .marker { position: absolute; margin-left: -35px; @@ -471,6 +475,12 @@ ul.overpass-layer-list > li > a > .content > .title { display: block; font-style: italic; } +ul.overpass-layer-list > li > a > .content > .details { + float: right; + display: block; + font-style: italic; + color: #7f7f7f; +} .leaflet-popup-content h1 .title { font-style: italic;