fix slider style

This commit is contained in:
samaradel 2023-05-07 16:23:24 +03:00
parent c4af91acc6
commit d8d3f0b7d8
2 changed files with 5 additions and 6 deletions

View File

@ -442,12 +442,6 @@ header {
height: 0;
padding-bottom: 65%;
}
.lg-next {
right: 0;
}
.lg-next, .lg-prev {
color: #000
}
@media (max-width: 768px) {
h2 {
font-size: 4rem;

View File

@ -248,6 +248,11 @@ if (document.getElementById("inline-gallery-container") !== null) {
});
const lgBackdrop = document.querySelector(".lg-backdrop");
const lgNext = document.querySelector(".lg-next");
const lgPrev = document.querySelector(".lg-prev");
lgBackdrop.style.backgroundColor = "transparent";
lgNext.style.right = "0";
lgNext.style.color = "#000";
lgPrev.style.color = "#000";
inlineGallery.openGallery();
}