diff --git a/src/web/control.js b/src/web/control.js index 442f793..b53c79b 100644 --- a/src/web/control.js +++ b/src/web/control.js @@ -501,11 +501,13 @@ function App({ wsEndpoint, role }) { return ( -

Streamwall ({location.host})

-
- connection status: {isConnected ? 'connected' : 'connecting...'} -
-
role: {role}
+ +

Streamwall ({location.host})

+
+ connection status: {isConnected ? 'connected' : 'connecting...'} +
+
role: {role}
+
{delayState && (
- +
{isConnected @@ -656,6 +658,7 @@ const Stack = styled.div` flex-direction: column; flex: ${({ flex }) => flex}; ${({ scroll }) => scroll && `overflow-y: auto`}; + ${({ minHeight }) => minHeight && `min-height: ${minHeight}px`}; ` function StreamDelayBox({ delayState, setStreamCensored }) { @@ -937,6 +940,21 @@ function CustomStreamInput({ idx, onChange, ...props }) { ) } +const StyledHeader = styled.header` + display: flex; + flex-direction: row; + align-items: center; + + h1 { + margin-top: 0; + margin-bottom: 0; + } + + * { + margin-right: 2rem; + } +` + const StyledStreamDelayBox = styled.div` display: inline-flex; margin: 5px 0;