From 4a88addfe27f0b3b1618ec507c1fb0eaf91a1b40 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Mon, 3 Apr 2023 15:41:44 +0200 Subject: [PATCH] Fix performance by not scaling bg --- sass/style.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sass/style.scss b/sass/style.scss index b1fd070..8433a79 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -781,8 +781,8 @@ body.noscroll { .faq { background-image: url("/static/img/bg/faq.svg"); background-repeat: no-repeat; - background-position: right center; - background-size: auto 100%; + background-position: 10vw top; + background-size: auto 75em; .faq-list { width: 100%; @@ -1031,9 +1031,9 @@ footer { } .faq { - background-position: 170% center; + background-position: 55vw top; } - + footer .contact-list { flex-direction: row; align-items: flex-start;