Add noscript for browsers without JS (#2592)

* Make OwncastLogo more versatile

* Add noscript tag

* Commit updated API documentation

* Show all content on vertical overflow

---------

Co-authored-by: Owncast <owncast@owncast.online>
This commit is contained in:
Michael David Kuckuk
2023-02-01 20:04:24 +01:00
committed by GitHub
parent 50ac4602f3
commit c6136fc35c
5 changed files with 101 additions and 4 deletions

View File

@@ -24,6 +24,7 @@ import { Theme } from '../../theme/Theme';
import styles from './Main.module.scss';
import { PushNotificationServiceWorker } from '../../workers/PushNotificationServiceWorker/PushNotificationServiceWorker';
import { AppStateOptions } from '../../stores/application-state';
import { Noscript } from '../../ui/Noscript/Noscript';
const lockBodyStyle = `
body {
@@ -152,6 +153,8 @@ export const Main: FC = () => {
<FatalErrorStateModal title={fatalError.title} message={fatalError.message} />
)}
</Layout>
<Noscript />
</>
);
};