Skip to content

Commit

Permalink
feat(webapp): change player style
Browse files Browse the repository at this point in the history
  • Loading branch information
a-wing committed Dec 26, 2023
1 parent 58f6447 commit 3105651
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 3 additions & 1 deletion webapp/components/player/whep-player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ export default function WhepPlayer(props: { streamId: string, status: UserStatus
}
</center>

<details className='text-white'>
<details className='text-white mx-2 text-sm font-border' style={{
position: 'absolute',
}}>
<summary className='text-center'>{props.status.name}</summary>
<center>
<div className='flex flex-row flex-wrap justify-around'>
Expand Down
4 changes: 3 additions & 1 deletion webapp/components/player/whip-player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@ export default function WhipPlayer(props: { streamId: string, width: string }) {
}
</center>

<details className='text-white'>
<details className='text-white mx-2 text-sm font-border' style={{
position: 'absolute',
}}>
<summary className='text-center'>{localUserStatus.name}</summary>
<center>
<div className='flex flex-row flex-wrap justify-around'>
Expand Down
6 changes: 6 additions & 0 deletions webapp/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}

.font-border {
font: caption;
-webkit-text-stroke: 0.5px black;
text-stroke: 0.5px black;
}

0 comments on commit 3105651

Please sign in to comment.