#2325 corps typo reponse egale question

This commit is contained in:
2024-03-11 10:47:43 +01:00
parent 9c1b14ad5a
commit 0c4721fbfc
2 changed files with 13 additions and 9 deletions

View File

@@ -27,7 +27,8 @@ export default {
let $main = event.target;
let scrolled = $main.scrollTop > 0;
this.$emit('main_scrolled', scrolled);
if(scrolled && $main.scrollHeight > 600){
// TODO how to make this failsafe limit responsive ?
if(scrolled && $main.scrollHeight > 700){
this.headerreduced = true;
} else {
this.headerreduced = false;