mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 12:55:19 +00:00
fix: her theme
This commit is contained in:
parent
28c1de237b
commit
40f60c163d
1 changed files with 5 additions and 0 deletions
|
|
@ -84,8 +84,13 @@
|
||||||
'position: absolute; width: auto; height: 6rem; top: 44%; left: 50%; transform: translateX(-50%); display:block;';
|
'position: absolute; width: auto; height: 6rem; top: 44%; left: 50%; transform: translateX(-50%); display:block;';
|
||||||
logo.src = isDarkMode ? '/static/splash-dark.png' : '/static/splash.png';
|
logo.src = isDarkMode ? '/static/splash-dark.png' : '/static/splash.png';
|
||||||
|
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', function () {
|
document.addEventListener('DOMContentLoaded', function () {
|
||||||
const splash = document.getElementById('splash-screen');
|
const splash = document.getElementById('splash-screen');
|
||||||
|
if (document.documentElement.classList.contains('her')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (splash) splash.prepend(logo);
|
if (splash) splash.prepend(logo);
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue