mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-12 10:53:51 +00:00
hotfix/167: style negative timers (#169)
This commit is contained in:
@@ -106,7 +106,7 @@ export default function Countdown(props) {
|
||||
</div>
|
||||
</div>
|
||||
<div className={style.status}>{runningMessage}</div>
|
||||
<span className={`${style.countdownClock} ${standby ? style.standby : ''}`}>
|
||||
<span className={`${style.countdownClock} ${standby ? style.standby : ''} ${time.finished ? style.finished : ''}`}>
|
||||
{formatDisplay(
|
||||
time.running ? runningTimer : runningTimer + millisToSeconds(delay),
|
||||
time.running || time.waiting
|
||||
|
||||
@@ -105,6 +105,9 @@
|
||||
&.standby {
|
||||
opacity: 0.6;
|
||||
}
|
||||
&.finished {
|
||||
color: $ontime-pink-variant;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user