diff --git a/index.js b/index.js index 1696c6f..e7513c4 100644 --- a/index.js +++ b/index.js @@ -20,7 +20,9 @@ const dwd = new TileLayer({ extent, opacity: 0.5, source: new TileWMS({ - attributions: ["Deutscher Wetterdienst"], + attributions: [ + 'Deutscher Wetterdienst', + ], url: "https://maps.dwd.de/geoserver/ows?version=1.3.0", params: { LAYERS: "dwd:Niederschlagsradar", diff --git a/style.css b/style.css index 894f4df..b70da73 100644 --- a/style.css +++ b/style.css @@ -71,6 +71,15 @@ body { width: 100%; } +.ol-attribution { + bottom: unset !important; + top: 0.5em; +} + +.ol-attribution.ol-uncollapsible { + top: 0; +} + @media only screen and (min-width: 800px) { #time { margin-bottom: 0;