Change error flashing class.

This commit is contained in:
Matthew Stratford 2021-01-28 23:00:19 +00:00
parent 238dd8d98f
commit 9ec14b1879
2 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@
} }
.source, .source,
.silence { .error {
margin-left: 1em; margin-left: 1em;
border-left: 2px solid gray; border-left: 2px solid gray;
padding-left: 1em; padding-left: 1em;

View file

@ -69,9 +69,9 @@ export function Timelord() {
!( !(
broadcastState.connectionState in ["LIVE", "CONNECTED", "NOT_CONNECTED"] broadcastState.connectionState in ["LIVE", "CONNECTED", "NOT_CONNECTED"]
) ? ( ) ? (
<span className="silence">Streaming Error!</span> <span className="error">Streaming Error!</span>
) : isSilence ? ( ) : !isSilence ? (
<span className="silence">SILENCE DETECTED</span> <span className="error">SILENCE DETECTED</span>
) : ( ) : (
<span className="source"> <span className="source">
<span className={"studio studio" + source.id}>{source.name}</span> <span className={"studio studio" + source.id}>{source.name}</span>