From 0c4721fbfcc05e476b50df8bfbe73c7e4b536d95 Mon Sep 17 00:00:00 2001 From: bach Date: Mon, 11 Mar 2024 10:47:43 +0100 Subject: [PATCH] #2325 corps typo reponse egale question --- src/assets/main.scss | 19 +++++++++++-------- src/components/layout/CartoucheLayout.vue | 3 ++- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/assets/main.scss b/src/assets/main.scss index c35c3d1..39f22fc 100644 --- a/src/assets/main.scss +++ b/src/assets/main.scss @@ -195,15 +195,18 @@ body{ } } @mixin font_reponses{ + @include font_questions(); font-weight: 100; - font-size: 0.882em; - line-height: 1.4; - @media screen and (max-width: 1500px) { - font-size: 0.756em; - } - @media screen and (max-width: 880px) { - font-size: 0.693em; - } + + // font-weight: 100; + // font-size: 0.882em; + // line-height: 1.4; + // @media screen and (max-width: 1500px) { + // font-size: 0.756em; + // } + // @media screen and (max-width: 880px) { + // font-size: 0.693em; + // } } #content{ display: flex; diff --git a/src/components/layout/CartoucheLayout.vue b/src/components/layout/CartoucheLayout.vue index 2427aa7..34e994c 100644 --- a/src/components/layout/CartoucheLayout.vue +++ b/src/components/layout/CartoucheLayout.vue @@ -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;