Skip to content

Commit

Permalink
Fix phone video positioning (especially on Firefox)
Browse files Browse the repository at this point in the history
  • Loading branch information
pimterry committed Aug 26, 2024
1 parent c963ca5 commit d59534b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ export const PairContainer = styled.div`
padding: 0 10px;
> .phone {
max-width: min(20vw, 250px);
width: 300px;
max-width: min(20vw, 300px);
transition: margin 0.5s, transform 0.5s;
}
> .hidden-phone {
margin-right: calc(-1 * min(20vw, 250px));
margin-right: calc(-1 * min(20vw, 300px));
transform: scale(80%);
}
Expand Down

0 comments on commit d59534b

Please sign in to comment.