From 7470687e771ca2e79199f580b475396ff82f2c02 Mon Sep 17 00:00:00 2001 From: Colin Taylor <5434186+colzilla@users.noreply.github.com> Date: Mon, 26 Jul 2021 19:35:01 +0000 Subject: [PATCH] Vertical height adjust It is now possible to change the vertical height of the module, by removing the "50vh" static parameter in the iframe --- MMM-RAIN-RADAR.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MMM-RAIN-RADAR.js b/MMM-RAIN-RADAR.js index fc883a9..97a4f24 100644 --- a/MMM-RAIN-RADAR.js +++ b/MMM-RAIN-RADAR.js @@ -44,7 +44,7 @@ Module.register("MMM-RAIN-RADAR", { let iframe = document.createElement("IFRAME"); iframe.id = "mmrainviewerframe"; iframe.classList.add("iframe"); - iframe.style = "border:0;height:50vh"; + iframe.style = "border:0"; iframe.width = this.config.width; iframe.height = this.config.height;