Fix linting errors.

This commit is contained in:
Michael Teeuw 2018-01-01 13:38:07 +01:00
parent ace04f0b30
commit 67cf0e745c
2 changed files with 8 additions and 11 deletions

View File

@ -95,7 +95,7 @@ body {
header { header {
text-transform: uppercase; text-transform: uppercase;
font-size: 15px; font-size: 15px;
font-family: "Roboto Condensed"; font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
font-weight: 400; font-weight: 400;
border-bottom: 1px solid #666; border-bottom: 1px solid #666;
line-height: 15px; line-height: 15px;
@ -151,6 +151,7 @@ sup {
.region.right { .region.right {
right: 0; right: 0;
text-align: right;
} }
.region.top { .region.top {
@ -161,6 +162,10 @@ sup {
margin-bottom: 25px; margin-bottom: 25px;
} }
.region.bottom .container {
margin-top: 25px;
}
.region.top .container:empty { .region.top .container:empty {
margin-bottom: 0; margin-bottom: 0;
} }
@ -185,10 +190,6 @@ sup {
bottom: 0; bottom: 0;
} }
.region.bottom .container {
margin-top: 25px;
}
.region.bottom .container:empty { .region.bottom .container:empty {
margin-top: 0; margin-top: 0;
} }
@ -231,10 +232,6 @@ sup {
text-align: left; text-align: left;
} }
.region.right {
text-align: right;
}
.region table { .region table {
width: 100%; width: 100%;
border-spacing: 0; border-spacing: 0;

View File

@ -161,12 +161,12 @@ Module.register("weatherforecast",{
} }
var maxTempCell = document.createElement("td"); var maxTempCell = document.createElement("td");
maxTempCell.innerHTML = forecast.maxTemp.replace(".", this.config.decimalSymbol) + degreeLabel; maxTempCell.innerHTML = forecast.maxTemp.replace(".", this.config.decimalSymbol) + degreeLabel;
maxTempCell.className = "align-right bright max-temp"; maxTempCell.className = "align-right bright max-temp";
row.appendChild(maxTempCell); row.appendChild(maxTempCell);
var minTempCell = document.createElement("td"); var minTempCell = document.createElement("td");
minTempCell.innerHTML = forecast.minTemp.replace(".", this.config.decimalSymbol) + degreeLabel; minTempCell.innerHTML = forecast.minTemp.replace(".", this.config.decimalSymbol) + degreeLabel;
minTempCell.className = "align-right min-temp"; minTempCell.className = "align-right min-temp";
row.appendChild(minTempCell); row.appendChild(minTempCell);