From ccb3c34991eaa25ee188658218fabc5d710465d3 Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Mon, 10 Sep 2018 16:23:37 +0200 Subject: [PATCH] partially revert previous commit re windy widget size don't hardcode small width/height but set max-width for dynamic size --- web/static/seepark_web.css | 9 ++++++--- web/templates/seepark_web.html | 3 +-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/web/static/seepark_web.css b/web/static/seepark_web.css index 6e7753c..174c4eb 100644 --- a/web/static/seepark_web.css +++ b/web/static/seepark_web.css @@ -21,12 +21,15 @@ body { #openweathermap-widget-15, #windy, .c3 { margin: 0 auto; text-align: center; - padding-top: 1em; + padding: 1em 1em 0 1em; } -#openweathermap-widget-15, #windy { +#openweathermap-widget-15 { width: 300px; - height: 244px; +} + +#windyiframe { + max-width: 100%; } #current, #currentair, #currentwater { diff --git a/web/templates/seepark_web.html b/web/templates/seepark_web.html index 013c622..3f29501 100644 --- a/web/templates/seepark_web.html +++ b/web/templates/seepark_web.html @@ -76,8 +76,7 @@
- - +

-- 2.47.3