Added logo for small screen

This commit is contained in:
2025-07-05 18:54:18 +02:00
parent 20b6c731b8
commit d0f8d7d172
2 changed files with 19 additions and 0 deletions

View File

@@ -19,6 +19,9 @@ function enterFullscreen() {
setFullWidth(true);
updateUrlFullscreen(true);
const logo = document.getElementById('navbar_logo');
if (logo) logo.classList.remove('d-none');
if (typeof adjustScrollContainerHeight === 'function') adjustScrollContainerHeight();
if (typeof updateCustomScrollbar === 'function') updateCustomScrollbar();
}
@@ -33,6 +36,9 @@ function exitFullscreen() {
setFullWidth(false);
updateUrlFullscreen(false);
const logo = document.getElementById('navbar_logo');
if (logo) logo.classList.add('d-none');
if (typeof adjustScrollContainerHeight === 'function') adjustScrollContainerHeight();
if (typeof updateCustomScrollbar === 'function') updateCustomScrollbar();
if (typeof syncIframeHeight === 'function') syncIframeHeight();