Sort of bug fix for hiding the header and footer at the right time.
This commit is contained in:
@@ -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="
|
||||
|
||||
@@ -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="
|
||||
|
||||
Reference in New Issue
Block a user