landingpage Video

pull/4/head
Jan Umbach 2024-06-02 19:04:25 +02:00
parent d721e250cd
commit b73577bf4d
1 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@
} }
@media screen and (max-width: 768px) { @@media screen and (max-width: 768px) {
.shx-landingPage__video { .shx-landingPage__video {
position: relative; position: relative;
width: 100%; width: 100%;
@ -32,12 +32,12 @@
/* Make the video twice as wide as the div */ /* Make the video twice as wide as the div */
height: 100%; height: 100%;
object-fit: cover; object-fit: cover;
transform: translateX(-50%); transform: translateX(0);
/* Shift the video to the left */ /* Shift the video to the right */
} }
} }
.shx-landingPage__video__content { .shx-landingPage__video__content {
position: absolute; position: absolute;
top: 50%; top: 50%;