diff --git a/app/static/css/default.css b/app/static/css/default.css index 7495f28..cab00cb 100644 --- a/app/static/css/default.css +++ b/app/static/css/default.css @@ -173,6 +173,11 @@ iframe{ transition: opacity var(--anim-duration) ease-in-out; } +#navbar_logo.visible { + opacity: 1 !important; +} + + /* 1. Make sure headers and footers can collapse */ header, footer { diff --git a/app/static/js/fullscreen.js b/app/static/js/fullscreen.js index 2cae092..ac6625a 100644 --- a/app/static/js/fullscreen.js +++ b/app/static/js/fullscreen.js @@ -41,14 +41,11 @@ function enterFullscreen() { setFullWidth(true); updateUrlFullscreen(true); - // fade in logo… (unchanged) + // Nur jetzt sichtbar machen const logo = document.getElementById('navbar_logo'); if (logo) { - // hide the navbar‐logo restore link in fullscreen - logo.classList.add('d-none'); + logo.classList.add('visible'); } - - // now recalc in lock-step with the CSS collapse animation recalcWhileCollapsing(); } @@ -57,13 +54,11 @@ function exitFullscreen() { setFullWidth(false); updateUrlFullscreen(false); + // Jetzt wieder verstecken const logo = document.getElementById('navbar_logo'); if (logo) { - // show the navbar‐logo restore link again - logo.classList.remove('d-none'); + logo.classList.remove('visible'); } - - // recalc while header/footer expand back recalcWhileCollapsing(); } diff --git a/app/templates/moduls/navigation.html.j2 b/app/templates/moduls/navigation.html.j2 index 154a9ea..7a27381 100644 --- a/app/templates/moduls/navigation.html.j2 +++ b/app/templates/moduls/navigation.html.j2 @@ -54,7 +54,7 @@