Skip to content

Commit

Permalink
prevent horizontal scroll on mobile (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoow authored Sep 29, 2024
2 parents 446685c + fc1c3c5 commit b12b50b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sass/components/_speakers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
width: calc(100% - 1.5rem);
height: calc(100% - 1.5rem);
border: 2px solid var(--white);
transform: translate(1.5rem, -1.5rem);
z-index: -1;
Expand All @@ -69,17 +69,17 @@
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
width: calc(100% - 1.5rem);
height: calc(100% - 1.5rem);
opacity: 0.7;
background-image: linear-gradient(65deg, #59decb 0%, #3b63e7 60%, #de59cc 100%);
mix-blend-mode: color;
}

img {
display: block;
width: 100%;
height: 100%;
width: calc(100% - 1.5rem);
height: calc(100% - 1.5rem);
}
}

Expand Down

0 comments on commit b12b50b

Please sign in to comment.