mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 14:23:51 +02:00
Fix custom CSS
This commit is contained in:
@@ -162,7 +162,9 @@ async function refreshCustomCss() {
|
||||
$appCustomStyle.setAttribute('id', 'app-custom-style');
|
||||
$appCustomStyle.rel = 'stylesheet';
|
||||
$appCustomStyle.type = 'text/css';
|
||||
$appCustomStyle.textContent = customCss;
|
||||
$appCustomStyle.href = URL.createObjectURL(
|
||||
new Blob([customCss], { type: 'text/css' })
|
||||
);
|
||||
head.appendChild($appCustomStyle);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user