fix slider style
This commit is contained in:
parent
c4af91acc6
commit
d8d3f0b7d8
@ -442,12 +442,6 @@ header {
|
|||||||
height: 0;
|
height: 0;
|
||||||
padding-bottom: 65%;
|
padding-bottom: 65%;
|
||||||
}
|
}
|
||||||
.lg-next {
|
|
||||||
right: 0;
|
|
||||||
}
|
|
||||||
.lg-next, .lg-prev {
|
|
||||||
color: #000
|
|
||||||
}
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 4rem;
|
font-size: 4rem;
|
||||||
|
@ -248,6 +248,11 @@ if (document.getElementById("inline-gallery-container") !== null) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const lgBackdrop = document.querySelector(".lg-backdrop");
|
const lgBackdrop = document.querySelector(".lg-backdrop");
|
||||||
|
const lgNext = document.querySelector(".lg-next");
|
||||||
|
const lgPrev = document.querySelector(".lg-prev");
|
||||||
lgBackdrop.style.backgroundColor = "transparent";
|
lgBackdrop.style.backgroundColor = "transparent";
|
||||||
|
lgNext.style.right = "0";
|
||||||
|
lgNext.style.color = "#000";
|
||||||
|
lgPrev.style.color = "#000";
|
||||||
inlineGallery.openGallery();
|
inlineGallery.openGallery();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user