Skip to content

Commit

Permalink
fix(client): the video player doesn't stretch videos anymore, and the…
Browse files Browse the repository at this point in the history
…re is no more cut at the bottom
  • Loading branch information
Will Moss committed Jul 18, 2024
1 parent 72ccc0b commit 0cc03ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ body {

.screen {
height: 100vh;
width: 100%;
background-color: #000;
display: grid;
place-items: center;
Expand Down
2 changes: 1 addition & 1 deletion src/components/BottomNavbar/index.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.bottom-navbar {
position: sticky;
position: fixed;
background-color: #161616;
bottom: 0;
width: 100%;
Expand Down
5 changes: 2 additions & 3 deletions src/components/VideoCard/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
}

.video::before {
content: '';
content: "";
display: block;
box-shadow: 0 -33px 48px rgba(0, 0, 0, 0.5) inset;
width: 100%;
Expand All @@ -67,9 +67,8 @@
position: absolute;
top: 0;
left: 0;
object-fit: cover;
width: 100%;
height: 100%;
height: calc(100% - 56px);
}

.bottom-controls {
Expand Down

0 comments on commit 0cc03ef

Please sign in to comment.