Skip to content

Commit

Permalink
fix viewer font size
Browse files Browse the repository at this point in the history
  • Loading branch information
DerTyp7 committed Nov 12, 2023
1 parent 7fd2e2a commit 4eb61d3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Try this instruction if you have problems with the quick instructions above.
5. Enter the in step 1 generated URL into the URL field of the Browser Source
![image](https://github.com/DerTyp7/ts5-obs-overlay/assets/76851529/50b755f9-d4b4-469f-9136-e2b18f226547)

6. Set the width and height to your desired size. Recommended is a ratio of 1:1 or 1:2 (e.g. 1500x3000 OR 1000x2000)
6. Set the width and height to your desired size. Recommended is a width of 1000px and the height is determined of how many clients are expected (play around with these values)

7. You should now receive a notification in TeamSpeak5 that the app is allowed to connect to your TeamSpeak5 client. Allow it. (If you don't get a notification, restart TeamSpeak5 and OBS -> try again)
![image](https://github.com/DerTyp7/ts5-obs-overlay/assets/76851529/40faa435-e128-415f-98eb-a9e8809e8f65)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ts5-obs-overlay",
"private": false,
"version": "2.0.6",
"version": "2.0.7",
"description": "Overlay for OBS to show the current talking clients in your TeamSpeak 5 Channel",
"author": "DerTyp7",
"homepage": "https://dertyp7.github.io/ts5-obs-overlay/#",
Expand Down
2 changes: 1 addition & 1 deletion src/Viewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function Viewer({
remoteAppPort: remoteAppPort,
auth: {
identifier: "de.tealfire.obs",
version: "2.0.6",
version: "2.0.7",
name: "TS5 OBS Overlay",
description: "A OBS overlay for TS5 by DerTyp7",
},
Expand Down
9 changes: 7 additions & 2 deletions src/styles/Viewer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
flex-direction: column;
padding: 0.5rem;

h1 {
font-size: 5vw;
}

h1,
p {
background-color: #2f313680;
Expand Down Expand Up @@ -34,14 +38,15 @@

// icon styles
svg {
width: 2.1rem;
width: 5vw;
aspect-ratio: 1/1;
margin-right: 0.5rem;
filter: drop-shadow(0 0 0.75rem rgba(15, 15, 15, 0.1));
}

// client name styles
p {
font-size: 1.4rem;
font-size: 5vw;
}
}
}

0 comments on commit 4eb61d3

Please sign in to comment.