diff --git a/src/web/control.js b/src/web/control.js index cb44456..a7a0d85 100644 --- a/src/web/control.js +++ b/src/web/control.js @@ -520,13 +520,13 @@ function StreamDelayBox({ delayState, setStreamCensored }) { {delayState.isConnected && ( <> delay: {delayState.delaySeconds}s - {buttonText} - + )} @@ -662,20 +662,20 @@ function GridInput({ )} - - - + - + + isActive && + ` + border-color: red; + background: #c77; + `}; + &:focus { outline: none; box-shadow: 0 0 10px orange inset; @@ -778,15 +785,6 @@ const StyledSmallButton = styled(StyledButton)` } ` -const StyledToggleButton = styled(StyledButton)` - ${({ isActive }) => - isActive && - ` - border-color: red; - background: #c77; - `}; -` - const StyledGridContainer = styled.div` position: relative; `