From b73577bf4da45dbc15c65504590667f786bb6f8e Mon Sep 17 00:00:00 2001 From: Jan Umbach Date: Sun, 2 Jun 2024 19:04:25 +0200 Subject: [PATCH] landingpage Video --- snippets/shx-landingpage.liquid | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/snippets/shx-landingpage.liquid b/snippets/shx-landingpage.liquid index ca675d5..e501502 100644 --- a/snippets/shx-landingpage.liquid +++ b/snippets/shx-landingpage.liquid @@ -18,7 +18,7 @@ } -@media screen and (max-width: 768px) { +@@media screen and (max-width: 768px) { .shx-landingPage__video { position: relative; width: 100%; @@ -32,12 +32,12 @@ /* Make the video twice as wide as the div */ height: 100%; object-fit: cover; - transform: translateX(-50%); - /* Shift the video to the left */ + transform: translateX(0); + /* Shift the video to the right */ } - } + .shx-landingPage__video__content { position: absolute; top: 50%;