Sort of bug fix for hiding the header and footer at the right time.

This commit is contained in:
Scott Idem
2025-09-19 18:10:23 -04:00
parent 231c2eea17
commit 43d64696d5
2 changed files with 6 additions and 2 deletions

View File

@@ -124,6 +124,7 @@ function scroll_container() {
{#if !$ae_sess?.disable_sys_nav}
<nav
bind:clientHeight={nav_y_height}
class:hidden={yTop > 600}
class:opacity-0={yTop > 250}
class="
submenu
@@ -273,6 +274,7 @@ function scroll_container() {
{#if !$ae_sess?.disable_sys_footer}
<footer
class:hidden={yTop > 300}
class:opacity-80={yTop < 250}
class:opacity-0={yTop > 250}
class="

View File

@@ -118,6 +118,7 @@ function scroll_container() {
<!-- class:hidden={yTop > 200} -->
<nav
bind:clientHeight={nav_y_height}
class:hidden={yTop > 600}
class:opacity-0={yTop > 250}
class="
submenu
@@ -128,8 +129,8 @@ function scroll_container() {
min-h-12
p-1 px-2 pb-2 m-auto
flex flex-col sm:flex-row sm:flex-wrap
items-center justify-between
flex flex-row flex-wrap
items-center justify-around sm:justify-between
gap-1
border-b-2 rounded-b-lg
@@ -382,6 +383,7 @@ function scroll_container() {
<footer
class:hidden={yTop > 300}
class:opacity-80={yTop < 250}
class:opacity-0={yTop > 250}
class="