From dbba7dee3af0aeb3713adfe2d913af2ca6f48807 Mon Sep 17 00:00:00 2001 From: Jules Neny Date: Tue, 12 May 2026 00:49:01 +0200 Subject: [PATCH] fix(v14-bis): drag handle overlay + toggle gauche + manifeste preview + scrollbar visible + couleurs attenuees + 2e logo insta MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FIX 1 drag handle : overlay full-screen z-9998 capture mouseup garanti (iframe AEP capturait les events — overlay au-dessus de tout au mousedown) FIX 2 toggle gauche : minmax(0,1fr) + visibility hidden au lieu de display:none (conflit display:none + width:0 effondrait la col centre quand 2 cols togglees) FIX 3 manifeste preview : slot flex-col + astro-island display:block (display:contents masquait astro-island au flex layout, preview ne s'inserait pas) FIX 4 scrollbar visible : overflow-y:auto + scrollbar-color custom #94A3B8 (style WebKit + Firefox uniquement quand data-preview-open=true) FIX 5 couleurs attenuees : data-muted #C8867E/#8F9A78/#7B848E/#566375 + texte encre FIX 6 Insta x2 : @aep.politique + @julesneny avec aria-labels et titles distincts FIX 7 SVG Insta : path simple (camera carree + lentille) au lieu du path complexe --- public/data/carte-o.json | 2 +- src/components/astro/ColCentre.astro | 69 +++++++++++++++++++++++---- src/components/astro/ColJournal.astro | 37 ++++++++------ src/components/astro/Footer.astro | 20 +++++++- src/pages/index.astro | 28 ++++++++--- 5 files changed, 123 insertions(+), 33 deletions(-) diff --git a/public/data/carte-o.json b/public/data/carte-o.json index 6b38838..b7b8d71 100644 --- a/public/data/carte-o.json +++ b/public/data/carte-o.json @@ -1,6 +1,6 @@ { "version": "1.1", - "generatedAt": "2026-05-11T22:29:46.546Z", + "generatedAt": "2026-05-11T22:48:32.388Z", "nodes": [ { "id": "contrat-social-medecine-corps-social", diff --git a/src/components/astro/ColCentre.astro b/src/components/astro/ColCentre.astro index f2ffcea..0ecd835 100644 --- a/src/components/astro/ColCentre.astro +++ b/src/components/astro/ColCentre.astro @@ -104,8 +104,12 @@ import PreviewArticle from '../vue/PreviewArticle.vue'; Pas de border ici - PreviewArticle.vue gere son propre conteneur. shrink-0 pour preserver sa taille auto, sinon flex pourrait l'ecraser. V1.4-E1 : client:load (vs client:visible) pour garantir hydration immediate des listeners - 'preview-open' / 'journal-item-click' (le v-if rendait l'observer aveugle). --> -
+ 'preview-open' / 'journal-item-click' (le v-if rendait l'observer aveugle). + V1.4-bis FIX 3 : le wrapper en display:contents masquait l'astro-island au flex layout. + On passe en flex container explicite (column) + l'astro-island prend display:block. + Quand mode=null, PreviewArticle renvoie rien → le slot ne prend pas de hauteur. + Quand mode=manifeste/article, le slot grandit pour contenir la preview. --> +
@@ -122,6 +126,36 @@ import PreviewArticle from '../vue/PreviewArticle.vue';
+ +