Skip to content

Commit

Permalink
hotfix/167: style negative timers (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpvalente authored Jun 30, 2022
1 parent 3edb534 commit 8ece6b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/features/viewers/countdown/Countdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions client/src/features/viewers/countdown/Countdown.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@
&.standby {
opacity: 0.6;
}
&.finished {
color: $ontime-pink-variant;
}
}
}
}

0 comments on commit 8ece6b1

Please sign in to comment.