From c877b5fc70e339253b926155aa7b4fcfe82521fe Mon Sep 17 00:00:00 2001 From: Jose Forte Date: Fri, 21 Feb 2020 10:17:05 -0300 Subject: [PATCH 1/2] Add new default config to 'current weather' module --- modules/default/currentweather/currentweather.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/default/currentweather/currentweather.js b/modules/default/currentweather/currentweather.js index 7d917132..c718ff1e 100644 --- a/modules/default/currentweather/currentweather.js +++ b/modules/default/currentweather/currentweather.js @@ -42,6 +42,7 @@ Module.register("currentweather",{ appendLocationNameToHeader: true, calendarClass: "calendar", + tableClass: "large", onlyTemp: false, roundTemp: false, @@ -174,6 +175,7 @@ Module.register("currentweather",{ // Override dom generator. getDom: function() { var wrapper = document.createElement("div"); + wrapper.className = this.config.tableClass; if (this.config.appid === "") { wrapper.innerHTML = "Please set the correct openweather appid in the config for module: " + this.name + "."; @@ -192,7 +194,7 @@ Module.register("currentweather",{ } var large = document.createElement("div"); - large.className = "large light"; + large.className = "light"; var weatherIcon = document.createElement("span"); weatherIcon.className = "wi weathericon " + this.weatherType; From f338b68f36d47e60b6495c41db3b98b5d3b26c4b Mon Sep 17 00:00:00 2001 From: Jose Forte Date: Fri, 21 Feb 2020 10:31:40 -0300 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 464d8642..c4ec96b2 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ This project adheres to [Semantic Versioning](http://semver.org/). ❤️ **Donate:** Enjoying MagicMirror²? [Please consider a donation!](https://magicmirror.builders/donate) With your help we can continue to improve the MagicMirror² core. +## [2.10.2] - 2020-02-21 + +### Added +- Option to configure the size of the currentweather module. + ## [2.10.1] - 2020-01-10 ### Changed