Unverified Commit 278b4d21 authored by M. Gschwandtner's avatar M. Gschwandtner Committed by GitHub

fix: prioritize user css by moving it to the body end (#847)

Co-authored-by: 's avatarM. Gschwandtner <84477901+OnlyPain-ctrl@users.noreply.github.com>
parent 27fd1e28
......@@ -48,7 +48,7 @@ const App = () => {
const styleEl = document.createElement("style");
styleEl.innerHTML = systemStatus.additionalStyle;
styleEl.setAttribute("type", "text/css");
document.head.appendChild(styleEl);
document.body.insertAdjacentElement("beforeend", styleEl);
}
if (systemStatus.additionalScript) {
const scriptEl = document.createElement("script");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment