Skip to content

Commit

Permalink
no need for "rain this hour" text"
Browse files Browse the repository at this point in the history
  • Loading branch information
joelhawksley committed May 10, 2024
1 parent d1f5410 commit f4047b2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/views/displays/mira.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,13 @@ div.hide-if-empty style="font-size: 1.75rem; position:absolute; left: 0; right:
div style="display: flex; justify-content: space-between"
div style="line-height: 3rem"
i.fa-solid.fa-fw class="fa-#{icon}"
| #{summary.humanize} this hour.
div
table.minutely border=0 cellpadding="0" cellspacing="0"
tr
- WeatherKitApi.data["forecastNextHour"]["minutes"].first(60).each_with_index do |minute, i|
- next if i.odd?
td
div style="height: 100px; position:relative; width: 28px;"
div style="height: 100px; position:relative; width: 30px;"
div style="background-color:black; position: absolute; height: #{(minute["precipitationChance"] * minute["precipitationIntensity"] * 50).clamp(3,100)}px; left: 0; right: 10px; bottom: 0; border-radius: 30px;"
tr style="font-size: .75rem;"
td colspan="10" Now
Expand Down

0 comments on commit f4047b2

Please sign in to comment.