From cfdd7c61d54e9102baeea8d3af60de35dbd942b6 Mon Sep 17 00:00:00 2001 From: J-onasJones Date: Wed, 27 Sep 2023 14:23:16 +0200 Subject: [PATCH] Fixed issue with background on mobile 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 --- src/routes/+page.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/routes/+page.css b/src/routes/+page.css index c973b94..5e6634d 100644 --- a/src/routes/+page.css +++ b/src/routes/+page.css @@ -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;