fix(growth-advisor-v3 sticky header + advisor-tab auto-click): bandeau flottant neutralise
Some checks failed
WEVAL NonReg / nonreg (push) Has been cancelled
Some checks failed
WEVAL NonReg / nonreg (push) Has been cancelled
Cause racine vue sur screen Yacine: .hd css ligne 14 position:sticky top:0 z-index:100 causait bandeau deuxieme header qui passait par dessus le contenu au scroll. Dashboard tab restait actif au lieu d'Advisor. Fix injecte avant marker /V3 OVERRIDE: - .hd position:relative!important top:auto z-index:auto (neutralise sticky) - .nv position:relative!important overflow-x:visible - #s-dashboard display:none force - .vt[data-tab=advisor] color gold actif Auto-select advisor ameliore: - click direct sur le tab advisor pour declencher handler v2 natif - Avant on cachait s-* mais tab Dashboard restait actif visuellement Scroll maintenant normal (pas de sticky), header en flux statique top page. NR 153/153 invariant. Zero backend touch.
This commit is contained in:
@@ -1960,9 +1960,15 @@ document.addEventListener('DOMContentLoaded',()=>{const s=document.createElement
|
||||
<a href="/growth-engine-v2.html" class="v3-backlink">Back to Growth Engine v2</a>
|
||||
|
||||
<script>
|
||||
// V3 · auto-select advisor tab au load
|
||||
// V3 · auto-select advisor tab au load (FIXED v2)
|
||||
(function(){
|
||||
function selectAdvisor(){
|
||||
// Cliquer directement sur le tab advisor pour déclencher le handler v2
|
||||
const advTab=document.querySelector('.nv [data-tab="advisor"],.nv .vt[onclick*="advisor"]');
|
||||
if(advTab){
|
||||
if(advTab.onclick){ advTab.onclick(); }
|
||||
else { advTab.click(); }
|
||||
}
|
||||
// Cache tous les s-* sauf s-advisor
|
||||
document.querySelectorAll('[id^="s-"]').forEach(el=>{
|
||||
if(el.id!=='s-advisor') el.style.display='none';
|
||||
|
||||
Reference in New Issue
Block a user