Fix departure time layout and column alignment
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-05-16 16:42:06 +02:00
parent 13339b17bf
commit bad31ff17a
2 changed files with 21 additions and 1 deletions
+17
View File
@@ -560,6 +560,23 @@ header {
font-weight: 500;
color: var(--green);
flex-shrink: 0;
display: flex;
align-items: center;
gap: 8px;
}
.mobile-departure-time.delayed { color: var(--yellow); }
.mobile-departure-clock {
font-family: 'JetBrains Mono', monospace;
font-size: 11px;
color: var(--muted);
width: 40px;
text-align: right;
}
.mobile-departure-mins {
min-width: 54px;
text-align: right;
white-space: nowrap;
}
+4 -1
View File
@@ -153,7 +153,10 @@ function MobileTransit() {
</div>
<div className="mobile-departure-dir">{d.direction}</div>
<div className={`mobile-departure-time${delayed ? ' delayed' : ''}`}>
{formatMinutes(min)}
<span className="mobile-departure-clock">
{new Date(d.realtimeTime).toLocaleTimeString('de-DE', { hour: '2-digit', minute: '2-digit' })}
</span>
<span className="mobile-departure-mins">{formatMinutes(min)}</span>
</div>
</div>
)