diff options
| author | real-zephex <[email protected]> | 2024-05-21 22:30:23 +0530 |
|---|---|---|
| committer | real-zephex <[email protected]> | 2024-05-21 22:30:23 +0530 |
| commit | 53486ef914b9168330aba524f03861c40f44726a (patch) | |
| tree | 4debd736c06f0131935dfc955add6b64ca86fdec | |
| parent | ✨ style(homepage): removed unnecessary sub text from the homepage cards and... (diff) | |
| download | dramalama-53486ef914b9168330aba524f03861c40f44726a.tar.xz dramalama-53486ef914b9168330aba524f03861c40f44726a.zip | |
💅 style(movie-page): remove scrollbar from iframe
| -rw-r--r-- | src/app/movies/components/video_player.jsx | 2 | ||||
| -rw-r--r-- | src/app/movies/styles/video_player.module.css | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/src/app/movies/components/video_player.jsx b/src/app/movies/components/video_player.jsx index 86b6748..74f6180 100644 --- a/src/app/movies/components/video_player.jsx +++ b/src/app/movies/components/video_player.jsx @@ -23,7 +23,7 @@ export default function VIDEO_PLAYER({ id: id }) { return ( <section className={styles.VideoContainer}> - <div> + <div className={styles.sourcesButtonContainer}> <button onClick={() => make_player(`https://vidsrc.pro/embed/movie/${id}`) diff --git a/src/app/movies/styles/video_player.module.css b/src/app/movies/styles/video_player.module.css index b8946e8..2e022f0 100644 --- a/src/app/movies/styles/video_player.module.css +++ b/src/app/movies/styles/video_player.module.css @@ -15,16 +15,17 @@ cursor: pointer; } +.sourcesButtonContainer { + display: flex; + overflow: auto; +} + .VideoPlayer { width: 100%; - height: 500px; + height: 700px; aspect-ratio: "16/9"; border: none; outline: none; border-radius: 0.5rem; margin: 0.5rem 0 0 0; -} - -.VideoPlayer::-webkit-scrollbar { - width: 0px; }
\ No newline at end of file |