From e75ff5e040cfca91d1026c3d38125333c8810219 Mon Sep 17 00:00:00 2001 From: IliesAllali Date: Sun, 18 Oct 2026 22:43:19 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20portrait=20=C3=A0=20la=20hauteur=20des?= =?UTF-8?q?=20champs=20en=20modification,=20symbole=20du=20logo=20sur=20t?= =?UTF-8?q?=C3=A9l=C3=A9phone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fiche en modification : le portrait prend la hauteur des champs Prénom et Nom (écart compris), carré (align-self stretch + aspect-ratio 1) - Landing, téléphone (≤ 820 px) : symbole du logo seul, nom accessible « Parenthèse, accueil » conservé Co-Authored-By: Claude Haiku 5.5 --- frontend/src/components/PersonCard.css | 5 +++++ landing/src/App.jsx | 6 +++++- landing/src/LogoLockup.jsx | 24 ++++++++++++++---------- landing/src/index.css | 5 ++++- 4 files changed, 28 insertions(+), 12 deletions(-) diff --git a/frontend/src/components/PersonCard.css b/frontend/src/components/PersonCard.css index a8ac8d7..a4c3709 100644 --- a/frontend/src/components/PersonCard.css +++ b/frontend/src/components/PersonCard.css @@ -57,6 +57,11 @@ /* Menu du choix de source du portrait : au-dessus de la fiche (z-index 1000), sous la modale Immich (2200) */ .pc-source-backdrop { position: fixed; inset: 0; z-index: 1100; } .pc-source-menu { position: fixed; z-index: 1150; min-width: 220px; } +/* Mode modification : le portrait prend la hauteur des deux champs Prénom et Nom (écart compris) et reste carré */ +.person-card--edit-mode .pc-id { padding-top: 0; } +.person-card--edit-mode .pc-photo-wrap { align-self: stretch; display: block; } +.person-card--edit-mode .pc-photo-wrap > .pc-photo { width: auto; height: 100%; aspect-ratio: 1 / 1; } + .pc-photo-badge { position: absolute; right: -6px; bottom: -6px; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; padding: 0; diff --git a/landing/src/App.jsx b/landing/src/App.jsx index e458592..55f80ae 100644 --- a/landing/src/App.jsx +++ b/landing/src/App.jsx @@ -773,7 +773,11 @@ function Header({ t, onCta, loginHref, elevated }) { return (
- + + {/* Sur téléphone, le symbole seul : le nom « Parenthèse » reste dans le nom accessible du lien */} + + +