diff --git a/frontend/src/App.css b/frontend/src/App.css index feb77a8..5ce57fb 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -544,31 +544,28 @@ left: 20px; z-index: 1200; max-width: 340px; - padding: 12px 14px; + padding: 18px 20px 20px; display: grid; - gap: 8px; - border-radius: 14px; - border: 1px solid rgba(42, 38, 34, 0.14); - background: rgba(242, 239, 234, 0.95); - box-shadow: 0 6px 24px rgba(52, 48, 44, 0.18); - color: #2a2622; - font-size: 13px; - line-height: 1.45; + gap: 10px; + border-radius: var(--pz-r-l); + border: 1px solid var(--pz-line); + background: var(--pz-surface); + box-shadow: var(--pz-shadow); + color: var(--pz-ink-2); + font: 400 14px/1.5 var(--pz-sans); } .tree-created-prompt strong { - color: #2A2622; - font-size: 14px; + color: var(--pz-ink); + font: 400 21px/1.15 var(--pz-serif); + letter-spacing: -.01em; } -.tree-created-prompt button { +.tree-created-prompt .pz-btn { justify-self: start; - border: 1px solid #efc7b8; - border-radius: 8px; - background: #ffffff; - color: #2a2622; - padding: 6px 10px; - cursor: pointer; + min-height: 38px; + padding: 0 18px; + font-size: 14px; } .settings-card { diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 263706d..c30b806 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -2898,7 +2898,7 @@ function App() {
{t('Votre arbre est créé.')} {t("Ajoutez un proche pour commencer, comme votre mère, votre père ou un frère. Il suffit d'un prénom.")} -
@@ -2908,7 +2908,7 @@ function App() { {t("Votre arbre est créé, mais l'import n'a pas abouti.")} {` ${treeImportError} `} {t("Vous pouvez réessayer depuis les paramètres de l'arbre.")} - diff --git a/frontend/src/components/ContributionPanel.jsx b/frontend/src/components/ContributionPanel.jsx index a13a8b9..409762b 100644 --- a/frontend/src/components/ContributionPanel.jsx +++ b/frontend/src/components/ContributionPanel.jsx @@ -238,6 +238,8 @@ const ContributionPanel = ({ const [newPassword, setNewPassword] = useState('') const [inviteLocalError, setInviteLocalError] = useState('') const [copyFeedback, setCopyFeedback] = useState('') + // Le message d'invitation reste replié : une ligne, le texte ne s'ouvre que sur demande + const [showInviteMessage, setShowInviteMessage] = useState(false) // Load persisted decisions from localStorage useEffect(() => { @@ -366,7 +368,6 @@ const ContributionPanel = ({ aria-labelledby="contribPanelTitle" >
-

{t('Partager et relire')}

{familyTitleBefore}{t('participe')}{familyTitleAfter}