Skip to content

Commit

Permalink
QOL and css changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Hassunaama committed Apr 9, 2024
1 parent c9eebf7 commit 0a1fc32
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/Start.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var stream = null;

export default function Start() {

var [stream, setStream] = React.useState("https://yletv.akamaized.net/hls/live/622365/yletv1fin/index.m3u8")
var [stream, setStream] = useState("https://yletv.akamaized.net/hls/live/622365/yletv1fin/index.m3u8")

return (
<div className='player-wrapper'>
Expand Down
20 changes: 11 additions & 9 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
-webkit-text-size-adjust: 100%;
}

* {
margin: 0
}

.container {
margin: 0;
padding-top: 10vh;
Expand Down Expand Up @@ -97,19 +101,17 @@ button:active {
background-color: #0f0f0f69;
}

body {
margin: 0
}

html, body {
overflow: hidden;
}

.sidebar{
width: 45vh;
height:100vh;
background: rgb(49, 48, 48);
/* border-radius: 15px; */
.sidebar {
width: 35rem;
height: 100vh;
padding: 2rem;
background: rgba(49, 48, 48, 0.9);
border-top-right-radius: 15px;
border-bottom-right-radius: 15px;
}

.react-player {
Expand Down

0 comments on commit 0a1fc32

Please sign in to comment.