diff --git a/src/Viewer.tsx b/src/Viewer.tsx index 8bc7e1b..fbebcd4 100644 --- a/src/Viewer.tsx +++ b/src/Viewer.tsx @@ -146,6 +146,24 @@ export default function Viewer({ return
; } })} + {currentChannel == null ? ( + <> +

Overlay couldn't connect to the client:

+
+
+
1. Make sure to accept the overlay in your TS5-Client via the notifications
+
+
2. Enable remote apps inside the the TS5-Settings
+
+
3. Make sure to match the configuration port with the port in the TS5 remote app settings
+
+
4. Refresh this page/BrowserSource (Select BrowserSource & click "Refresh" in OBS)
+
+
If non of this worked refer to the GitHub and write an issue with your problem
+ + ) : ( + "" + )} ); } diff --git a/src/main.tsx b/src/main.tsx index 7e3b701..fea0b5e 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -2,7 +2,7 @@ import React from "react"; import ReactDOM from "react-dom/client"; import App from "./App.tsx"; import "@styles/index.scss"; -import { BrowserRouter, HashRouter } from "react-router-dom"; +import { HashRouter } from "react-router-dom"; ReactDOM.createRoot(document.getElementById("root")!).render( diff --git a/src/styles/index.scss b/src/styles/index.scss index 8406e2b..b2ccd24 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -41,6 +41,14 @@ h4 { font-size: 1.1rem; } +h5 { + font-size: 1rem; +} + +h6 { + font-size: 0.9rem; +} + // Common styles for heading elements h1, h2,