mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-02 22:08:42 +00:00
use solid type for font awesome icons
This commit is contained in:
parent
c8c4585946
commit
ce05f8e958
@ -135,7 +135,7 @@ Module.register("currentweather", {
|
|||||||
var windDirection = document.createElement("sup");
|
var windDirection = document.createElement("sup");
|
||||||
if (this.config.showWindDirectionAsArrow) {
|
if (this.config.showWindDirectionAsArrow) {
|
||||||
if (this.windDeg !== null) {
|
if (this.windDeg !== null) {
|
||||||
windDirection.innerHTML = ' <i class="fa fa-long-arrow-down" style="transform:rotate(' + this.windDeg + 'deg);"></i> ';
|
windDirection.innerHTML = ' <i class="fas fa-long-arrow-down" style="transform:rotate(' + this.windDeg + 'deg);"></i> ';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
windDirection.innerHTML = " " + this.translate(this.windDirection);
|
windDirection.innerHTML = " " + this.translate(this.windDirection);
|
||||||
@ -234,7 +234,7 @@ Module.register("currentweather", {
|
|||||||
|
|
||||||
if (this.config.showIndoorTemperature && this.indoorTemperature) {
|
if (this.config.showIndoorTemperature && this.indoorTemperature) {
|
||||||
var indoorIcon = document.createElement("span");
|
var indoorIcon = document.createElement("span");
|
||||||
indoorIcon.className = "fa fa-home";
|
indoorIcon.className = "fas fa-home";
|
||||||
large.appendChild(indoorIcon);
|
large.appendChild(indoorIcon);
|
||||||
|
|
||||||
var indoorTemperatureElem = document.createElement("span");
|
var indoorTemperatureElem = document.createElement("span");
|
||||||
@ -245,7 +245,7 @@ Module.register("currentweather", {
|
|||||||
|
|
||||||
if (this.config.showIndoorHumidity && this.indoorHumidity) {
|
if (this.config.showIndoorHumidity && this.indoorHumidity) {
|
||||||
var indoorHumidityIcon = document.createElement("span");
|
var indoorHumidityIcon = document.createElement("span");
|
||||||
indoorHumidityIcon.className = "fa fa-tint";
|
indoorHumidityIcon.className = "fas fa-tint";
|
||||||
large.appendChild(indoorHumidityIcon);
|
large.appendChild(indoorHumidityIcon);
|
||||||
|
|
||||||
var indoorHumidityElem = document.createElement("span");
|
var indoorHumidityElem = document.createElement("span");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user