From 95626d821d78f95c435e3d80a973e4883946e60f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Mon, 25 Jul 2022 20:00:12 +0200 Subject: [PATCH] Fix css fix #2220 --- site/source/components/PaySlip.tsx | 6 ++-- .../components/conversation/Explicable.tsx | 33 +++++++++---------- .../design-system/buttons/ButtonHelp.tsx | 4 ++- site/source/design-system/layout/Grid.tsx | 4 ++- 4 files changed, 24 insertions(+), 23 deletions(-) diff --git a/site/source/components/PaySlip.tsx b/site/source/components/PaySlip.tsx index 033c4f301..c439be951 100644 --- a/site/source/components/PaySlip.tsx +++ b/site/source/components/PaySlip.tsx @@ -143,10 +143,8 @@ export default function PaySlip() { return (
- {section.title}{' '} - - - + {section.title} +
{cotisations.map((cotisation) => ( diff --git a/site/source/components/conversation/Explicable.tsx b/site/source/components/conversation/Explicable.tsx index 06035e0ae..bbe723447 100644 --- a/site/source/components/conversation/Explicable.tsx +++ b/site/source/components/conversation/Explicable.tsx @@ -30,22 +30,21 @@ export function ExplicableRule({ // TODO montrer les variables de type 'une possibilité' return ( - - - {rule.rawNode.description} - {rule.rawNode.références && ( - <> -

Liens utiles

- - - )} -
-
+ + {rule.rawNode.description} + {rule.rawNode.références && ( + <> +

Liens utiles

+ + + )} +
) } diff --git a/site/source/design-system/buttons/ButtonHelp.tsx b/site/source/design-system/buttons/ButtonHelp.tsx index e703b6cbf..cfb4a10d3 100644 --- a/site/source/design-system/buttons/ButtonHelp.tsx +++ b/site/source/design-system/buttons/ButtonHelp.tsx @@ -10,6 +10,7 @@ type ButtonHelpProps = { children: React.ReactNode light?: boolean bigPopover?: boolean + className?: string } export default function ButtonHelp({ @@ -18,11 +19,12 @@ export default function ButtonHelp({ type, light, bigPopover, + className, }: ButtonHelpProps) { return ( ( - +