diff --git a/web/pages/embed/video/VideoEmbed.module.scss b/web/pages/embed/video/VideoEmbed.module.scss new file mode 100644 index 000000000..3dbb4469a --- /dev/null +++ b/web/pages/embed/video/VideoEmbed.module.scss @@ -0,0 +1,8 @@ +.onlineContainer { + height: 96vh; + background-color: var(--theme-color-components-video-status-bar-background); + + @media only screen and (max-width: 768px) { + height: 100vh; + } +} diff --git a/web/pages/embed/video/index.tsx b/web/pages/embed/video/index.tsx index 6c20b1c26..3523d40bd 100644 --- a/web/pages/embed/video/index.tsx +++ b/web/pages/embed/video/index.tsx @@ -1,4 +1,5 @@ -import React from 'react'; +/* eslint-disable react/no-unknown-property */ +import React, { useEffect } from 'react'; import { useRecoilValue } from 'recoil'; import { useRouter } from 'next/router'; import { Skeleton } from 'antd'; @@ -16,6 +17,7 @@ import { ClientConfig } from '../../../interfaces/client-config.model'; import { ServerStatus } from '../../../interfaces/server-status.model'; import { AppStateOptions } from '../../../components/stores/application-state'; import { Theme } from '../../../components/theme/Theme'; +import styles from './VideoEmbed.module.scss'; export default function VideoEmbed() { const status = useRecoilValue(serverStatusState); @@ -46,6 +48,11 @@ export default function VideoEmbed() { const loadingState = ; + // This is a hack to force a specific body background color for just this page. + useEffect(() => { + document.body.classList.add('body-background'); + }, []); + const offlineState = ( +
+ - +
); const getView = () => {