diff --git a/css/index.css b/css/index.css index 1354e0f..f846faf 100644 --- a/css/index.css +++ b/css/index.css @@ -445,9 +445,6 @@ header { .lg-next { right: 0; } -.lg-backdrop { - background-color: transparent !important; -} .lg-next, .lg-prev { color: #000 } diff --git a/static/js/custom.js b/static/js/custom.js index a70e6d0..6c352ad 100644 --- a/static/js/custom.js +++ b/static/js/custom.js @@ -247,5 +247,7 @@ if (document.getElementById("inline-gallery-container") !== null) { ], }); + const lgBackdrop = document.querySelector(".lg-backdrop"); + lgBackdrop.style.backgroundColor = "transparent"; inlineGallery.openGallery(); }