update(News widget styling): makes card-header of the news content sticky so that the white left and right buttons don't appear in front of a white background

This commit is contained in:
SimonGschnell
2025-07-22 15:43:03 +02:00
parent 6c57c17eb5
commit 1b2d5ff6c6
@@ -63,6 +63,14 @@ export default {
if (!el.classList.contains("fhc-primary")) {
el.classList.add("fhc-primary");
}
if (!el.classList.contains("position-sticky")) {
el.classList.add("position-sticky");
}
if (!el.classList.contains("top-0")) {
el.classList.add("top-0");
}
});
document.querySelectorAll(".fhc-news-card-item .card-header .row").forEach((el) => {
if (!el.classList.contains("w-100")) {