mirror of
https://gitlab.com/vyla-entertainment/documentation.git
synced 2026-11-16 23:47:22 -05:00
fixed some lighthouse report
This commit is contained in:
@@ -1036,10 +1036,14 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
|
||||
var header = document.getElementById("header-container");
|
||||
if (header) {
|
||||
document.documentElement.style.setProperty("--header-height", header.offsetHeight + "px");
|
||||
window.addEventListener("resize", function () {
|
||||
requestAnimationFrame(function () {
|
||||
document.documentElement.style.setProperty("--header-height", header.offsetHeight + "px");
|
||||
});
|
||||
window.addEventListener("resize", function () {
|
||||
requestAnimationFrame(function () {
|
||||
document.documentElement.style.setProperty("--header-height", header.offsetHeight + "px");
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
applyTheme();
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
@import "roots.css";
|
||||
@import "base.css";
|
||||
@import "highlight.css";
|
||||
Reference in New Issue
Block a user