Skip to content

Commit

Permalink
Merge pull request #27 from yashchaudhari008/video-scaling
Browse files Browse the repository at this point in the history
Fixed video scaling issue
  • Loading branch information
heysagnik committed Oct 4, 2022
2 parents 90fb353 + fa1e13a commit 5bf48c5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/scss/components/recorder.scss
Expand Up @@ -153,7 +153,7 @@
transition: all 0.3s $bezier-curve;

&:hover {
background-color: darken(#C3C1C1, 4%);
background-color: darken(#c3c1c1, 4%);
}
}

Expand Down Expand Up @@ -318,18 +318,19 @@
}

&__video {
height: 100%;
max-height: 45vh;
&--wrp {
position: relative;
width: 40%;
max-width: 50%;

@include mq(lg) {
max-width: 56rem;
}

.sh {
&__video {
display:none;
display: none;
//aspect-ratio: 16/9;
border-radius: $default-radius;
background-color: $light-grey;
Expand All @@ -349,7 +350,7 @@
position: absolute;
bottom: 0;
left: 0;
width: 50%;
width: 100%;
height: 10%;
border-bottom-left-radius: $default-radius;
border-bottom-right-radius: $default-radius;
Expand Down

1 comment on commit 5bf48c5

@vercel
Copy link

@vercel vercel bot commented on 5bf48c5 Oct 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

screen-rec – ./

screen-rec-heysagnik.vercel.app
screen-rec.vercel.app
screen-rec-git-mainn-heysagnik.vercel.app

Please sign in to comment.