From 578a27b2d3c2e2b0900136dcb29385ceb1052085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Thu, 24 Mar 2022 17:49:52 +0100 Subject: [PATCH] Fix css --- site/source/design-system/field/Radio/RadioCard.tsx | 4 +++- .../pages/Simulateurs/ExonerationCovid/FormulaireS1S1Bis.tsx | 4 ++-- site/source/pages/Simulateurs/ExonerationCovid/Table.tsx | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/site/source/design-system/field/Radio/RadioCard.tsx b/site/source/design-system/field/Radio/RadioCard.tsx index af4863850..6d4002742 100644 --- a/site/source/design-system/field/Radio/RadioCard.tsx +++ b/site/source/design-system/field/Radio/RadioCard.tsx @@ -7,7 +7,8 @@ import { LabelBody, RadioPoint, RadioSkeleton, VisibleRadio } from './Radio' const Label = styled.span`` const Description = styled.p` - margin: ${({ theme }) => theme.spacings.sm} 0; + margin: 0; + margin-top: ${({ theme }) => theme.spacings.sm}; ` const StyledRadioPoint = styled(RadioPoint)` @@ -25,6 +26,7 @@ const StyledRadioSkeleton = styled(RadioSkeleton)` flex: 1 100%; border-width: 0px; box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25); + padding: ${({ theme }) => theme.spacings.sm}; } ` diff --git a/site/source/pages/Simulateurs/ExonerationCovid/FormulaireS1S1Bis.tsx b/site/source/pages/Simulateurs/ExonerationCovid/FormulaireS1S1Bis.tsx index 427bad1c7..fe2f426fe 100644 --- a/site/source/pages/Simulateurs/ExonerationCovid/FormulaireS1S1Bis.tsx +++ b/site/source/pages/Simulateurs/ExonerationCovid/FormulaireS1S1Bis.tsx @@ -90,8 +90,8 @@ export const FormulaireS1S1Bis = ({ onChange }: Props) => { Mois - Situation liée à la crise sanitaire - Montant de la réduction + Situation liée à la crise sanitaire + Montant de la réduction diff --git a/site/source/pages/Simulateurs/ExonerationCovid/Table.tsx b/site/source/pages/Simulateurs/ExonerationCovid/Table.tsx index 7b0fcadfa..c5d6af94d 100644 --- a/site/source/pages/Simulateurs/ExonerationCovid/Table.tsx +++ b/site/source/pages/Simulateurs/ExonerationCovid/Table.tsx @@ -45,7 +45,7 @@ export const Tr = styled.tr` ${Td}:last-child { text-align: right; } - ${Td}:first-child, ${Td}:last-child { + ${Td}:first-child, ${Td}:last-child, ${Th}:first-child, ${Th}:last-child { flex: 1; } @media (min-width: ${({ theme }) => theme.breakpointsWidth.sm}) {