fix(vwb): CSS max-height 100% → calc(100vh-70px) — cause racine du timbre poste
Some checks failed
security-audit / Bandit (scan statique) (push) Successful in 13s
security-audit / pip-audit (CVE dépendances) (push) Successful in 11s
security-audit / Scan secrets (grep) (push) Successful in 9s
tests / Lint (ruff + black) (push) Successful in 15s
tests / Tests unitaires (sans GPU) (push) Failing after 17s
tests / Tests sécurité (critique) (push) Has been skipped

Le fichier CSS avait max-height:100% sur .fullscreen-content img
qui écrasait le style inline calc(100vh-70px). 100% d'un conteneur
flex sans hauteur explicite = taille naturelle de l'image = minuscule.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dom
2026-04-21 12:10:24 +02:00
parent 4202431421
commit 8ce63fcba2

View File

@@ -1089,9 +1089,7 @@ body {
.fullscreen-content img { .fullscreen-content img {
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: calc(100vh - 70px);
width: auto;
height: auto;
object-fit: contain; object-fit: contain;
cursor: crosshair; cursor: crosshair;
} }