Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Minor display tweaks.
  • Loading branch information
nigel-daniels committed Aug 16, 2018
1 parent d287e27 commit 7640c75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 3day_forecast.css
Expand Up @@ -50,7 +50,7 @@
}

.detailText2 {
text-align: center;
text-align: left;
font-size: 14px;
padding-left: 5px;
}
4 changes: 2 additions & 2 deletions MMM-3Day-Forecast.js
Expand Up @@ -170,9 +170,9 @@ Module.register('MMM-3Day-Forecast', {
windCell = document.createElement('td');
windCell.className = 'detailText2';
if (this.units === 'M') {
windCell.innerHTML = (Math.round(this.forecast[i].wspd * 10 ) / 10) + this.translate('MPS');
windCell.innerHTML = (Math.round(this.forecast[i].wspd * 10 ) / 10) + ' ' + this.translate('MPS');
} else {
windCell.innerHTML = (Math.round(this.forecast[i].wspd * 10 ) / 10) + this.translate('MPH');
windCell.innerHTML = (Math.round(this.forecast[i].wspd * 10 ) / 10) + ' ' + this.translate('MPH');
}

forecastIconCell.appendChild(forecastIcon);
Expand Down

0 comments on commit 7640c75

Please sign in to comment.