diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f668c61..0236e6de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,11 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Timestamp in log output now also contains the date - Turkish translation. +## [2.10.2] - 2020-02-21 + +### Added +- Option to configure the size of the currentweather module. + ## [2.10.1] - 2020-01-10 ### Changed diff --git a/modules/default/currentweather/currentweather.js b/modules/default/currentweather/currentweather.js index ac9e251d..7f7c805d 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, hideTemp: false, @@ -175,6 +176,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 + "."; @@ -193,7 +195,7 @@ Module.register("currentweather",{ } var large = document.createElement("div"); - large.className = "large light"; + large.className = "light"; var degreeLabel = ""; if (this.config.units === "metric" || this.config.units === "imperial") {