From b12b12995c1902cb35edc3ae2dba59e9ba6b3586 Mon Sep 17 00:00:00 2001 From: victor Date: Wed, 11 Dec 2024 17:07:18 +0100 Subject: [PATCH 1/4] =?UTF-8?q?fix:=20rgaa=20ajout=20header=20contenu=20li?= =?UTF-8?q?=C3=A9=20-=20partage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/common/RelatedItems.tsx | 8 ++++++-- .../code-du-travail-frontend/src/modules/common/Share.tsx | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/code-du-travail-frontend/src/modules/common/RelatedItems.tsx b/packages/code-du-travail-frontend/src/modules/common/RelatedItems.tsx index 4cc0577fd2..718576f06f 100644 --- a/packages/code-du-travail-frontend/src/modules/common/RelatedItems.tsx +++ b/packages/code-du-travail-frontend/src/modules/common/RelatedItems.tsx @@ -23,9 +23,13 @@ export const RelatedItems = ({ ({ title, items }) => items.length > 0 && (
-

+

{title} : -

+
{ return ( diff --git a/packages/code-du-travail-frontend/src/modules/common/Share.tsx b/packages/code-du-travail-frontend/src/modules/common/Share.tsx index 87fac4fadf..85e2b28355 100644 --- a/packages/code-du-travail-frontend/src/modules/common/Share.tsx +++ b/packages/code-du-travail-frontend/src/modules/common/Share.tsx @@ -24,7 +24,9 @@ export const Share = ({ title, metaDescription }: Props): JSX.Element => { return (
-

Partager la page

+
+ Partager la page +
-

Articles liés  : -

+
    diff --git a/packages/code-du-travail-frontend/src/modules/common/__tests__/__snapshots__/Share.test.tsx.snap b/packages/code-du-travail-frontend/src/modules/common/__tests__/__snapshots__/Share.test.tsx.snap index e438fe6701..ccee9aeac5 100644 --- a/packages/code-du-travail-frontend/src/modules/common/__tests__/__snapshots__/Share.test.tsx.snap +++ b/packages/code-du-travail-frontend/src/modules/common/__tests__/__snapshots__/Share.test.tsx.snap @@ -5,9 +5,13 @@ exports[` renders 1`] = `