mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-16 22:42:16 +00:00
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:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user