diff --git a/app.vue b/app.vue index 098f14f..797a879 100644 --- a/app.vue +++ b/app.vue @@ -34,7 +34,7 @@ class="nav-tab" :class="{ 'nav-tab--active': route.path === '/' }" > - Écosystème Entraide Architecture + Écosystème Entraide
- -
- - - - - -
- - - - - - - -
- - -
- - - -
-
- - +
- - + +
+ + + +
@@ -231,7 +228,7 @@
@@ -351,9 +348,7 @@ function showCarte() { localStorage.setItem(CONTENT_KEY, 'carte') localStorage.setItem(LAYOUT_KEY, 'split') } - nextTick(() => { - cartePenseesRef.value?.triggerResize() - }) + nextTick(() => cartePenseesRef.value?.triggerResize()) } function onHandleMousedown(e: MouseEvent) { @@ -374,9 +369,7 @@ function onHandleMousemove(e: MouseEvent) { function onHandleMouseup() { window.removeEventListener('mousemove', onHandleMousemove) window.removeEventListener('mouseup', onHandleMouseup) - if (typeof window !== 'undefined') { - localStorage.setItem(SPLIT_RATIO_KEY, String(splitRatio.value)) - } + if (typeof window !== 'undefined') localStorage.setItem(SPLIT_RATIO_KEY, String(splitRatio.value)) cartePenseesRef.value?.triggerResize() } @@ -459,7 +452,49 @@ function onInterrogerRag(auteurId: string) { min-height: 0; } -/* --- Barre de toggle --- */ +.layout-container { + flex: 1; + display: flex; + flex-direction: column; + overflow: hidden; + min-height: 0; +} + +/* --- Slot carte --- */ +.carte-slot { + overflow: hidden; + position: relative; + transition: opacity 0.2s ease; +} + +.carte-split { + flex: 0 0 66%; + min-height: 0; + opacity: 1; +} + +.carte-full { + flex: 1 1 100%; + min-height: 0; + opacity: 1; +} + +.carte-hidden { + flex: 0 0 0; + height: 0; + opacity: 0; + overflow: hidden; +} + +/* --- Overlay PDF FRACAS --- */ +.fracas-overlay { + position: absolute; + inset: 0; + z-index: 50; + pointer-events: none; +} + +/* --- Barre de toggle (entre carte et chatbot) --- */ .layout-toggle-bar { flex-shrink: 0; display: flex; @@ -526,49 +561,6 @@ function onInterrogerRag(auteurId: string) { accent-color: var(--nav-primary, #3b6ea5); } -/* --- Conteneur principal --- */ -.layout-container { - flex: 1; - display: flex; - flex-direction: column; - overflow: hidden; - min-height: 0; -} - -/* --- Slot carte --- */ -.carte-slot { - overflow: hidden; - position: relative; - transition: opacity 0.2s ease; -} - -.carte-split { - flex: 0 0 66%; - min-height: 0; - opacity: 1; -} - -.carte-full { - flex: 1 1 100%; - min-height: 0; - opacity: 1; -} - -.carte-hidden { - flex: 0 0 0; - height: 0; - opacity: 0; - overflow: hidden; -} - -/* --- Overlay PDF FRACAS --- */ -.fracas-overlay { - position: absolute; - inset: 0; - z-index: 50; - pointer-events: none; -} - /* --- Poignee draggable --- */ .split-handle { flex-shrink: 0;