current observations don't show like when the same close #207

This commit is contained in:
Matt Walsh
2026-04-13 14:54:18 -05:00
parent 63e089451d
commit 27d75ba62d
4 changed files with 6 additions and 4 deletions

View File

@@ -183,7 +183,7 @@ class LatestObservations extends WeatherDisplay {
const filledRow = this.fillTemplate('observation-row', fill); const filledRow = this.fillTemplate('observation-row', fill);
// add the feels like class // add the feels like class
filledRow.querySelector('.like').classList.add(Like.cssClass); if (Like.cssClass) filledRow.querySelector('.like').classList.add(Like.cssClass);
return filledRow; return filledRow;
}); });

View File

@@ -58,13 +58,15 @@
.like { .like {
left: 380px; left: 380px;
display: block; display: hidden;
&.heat-index { &.heat-index {
color: c.$heat-index; color: c.$heat-index;
display: block;
} }
&.wind-chill { &.wind-chill {
display: block;
color: c.$wind-chill; color: c.$wind-chill;
} }
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long