Skip to content

Commit

Permalink
Fixed issue with background on mobile
Browse files Browse the repository at this point in the history
Fixed an issue where the background moves when you tap somewhere like on desktop. This makes the background look weird and has therefore been fixed
  • Loading branch information
JonasunderscoreJones committed Sep 27, 2023
1 parent 783a62b commit cfdd7c6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/routes/+page.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ a:hover {
/* Place the background behind other content */
}

@media screen and (max-width: 768px) {
.parallax-background {
transform:none;
}

}

/* Set container styles */
.container {
display: flex;
Expand Down

0 comments on commit cfdd7c6

Please sign in to comment.