Add a next-8-hours strip to the Radar panel's forecast
Same Open-Meteo call and cache as the daily outlook, just with an hourly field added — a rolling window from now rather than "rest of today", so it doesn't shrink to nothing right before midnight.
This commit is contained in:
1 parent
254e9b4c61
commit
6911e67c81
2 files changed
+55
-2
No files matched your search
@@ -218,6 +218,29 @@ html, body {
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
.radar-control__forecast-hours {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
overflow-x: auto;
|
||||
padding-bottom: 6px;
|
||||
margin-bottom: 4px;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.radar-control__forecast-hour {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
flex: 0 0 auto;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.radar-control__forecast-hour span:first-child {
|
||||
color: #888;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.radar-control__forecast-day {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in new issue
Block a user