#2325 corps typo reponse egale question

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

View File

@ -195,15 +195,18 @@ body{
} }
} }
@mixin font_reponses{ @mixin font_reponses{
@include font_questions();
font-weight: 100; font-weight: 100;
font-size: 0.882em;
line-height: 1.4; // font-weight: 100;
@media screen and (max-width: 1500px) { // font-size: 0.882em;
font-size: 0.756em; // line-height: 1.4;
} // @media screen and (max-width: 1500px) {
@media screen and (max-width: 880px) { // font-size: 0.756em;
font-size: 0.693em; // }
} // @media screen and (max-width: 880px) {
// font-size: 0.693em;
// }
} }
#content{ #content{
display: flex; display: flex;

View File

@ -27,7 +27,8 @@ export default {
let $main = event.target; let $main = event.target;
let scrolled = $main.scrollTop > 0; let scrolled = $main.scrollTop > 0;
this.$emit('main_scrolled', scrolled); 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; this.headerreduced = true;
} else { } else {
this.headerreduced = false; this.headerreduced = false;