fix(vwb): image plein écran maxHeight calc(100vh-70px) basé sur viewport
Some checks failed
security-audit / Bandit (scan statique) (push) Successful in 12s
security-audit / pip-audit (CVE dépendances) (push) Successful in 11s
security-audit / Scan secrets (grep) (push) Successful in 8s
tests / Lint (ruff + black) (push) Successful in 17s
tests / Tests unitaires (sans GPU) (push) Failing after 16s
tests / Tests sécurité (critique) (push) Has been skipped

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dom
2026-04-21 11:58:58 +02:00
parent 4923623dd4
commit 4202431421

View File

@@ -615,7 +615,7 @@ function FullscreenSelector({
alt="Capture plein ecran" alt="Capture plein ecran"
draggable={false} draggable={false}
onLoad={handleImageLoad} onLoad={handleImageLoad}
style={{ maxWidth: '100%', maxHeight: '100%', objectFit: 'contain' }} style={{ maxWidth: '100%', maxHeight: 'calc(100vh - 70px)', objectFit: 'contain' }}
/> />
{/* Overlay : positionne exactement sur l'image via imageRect. {/* Overlay : positionne exactement sur l'image via imageRect.