From 45c93a7a4a0719725972d14c154b167448ea9683 Mon Sep 17 00:00:00 2001 From: Guillaume Cauchois Date: Tue, 15 Oct 2024 17:25:19 +0200 Subject: [PATCH] revert: heading style --- src/components/backoffice/dashboard/Dashboard.styles.tsx | 3 --- src/components/utils/Headings/Headings.styles.ts | 8 -------- 2 files changed, 11 deletions(-) diff --git a/src/components/backoffice/dashboard/Dashboard.styles.tsx b/src/components/backoffice/dashboard/Dashboard.styles.tsx index d812f0817..b7595e700 100644 --- a/src/components/backoffice/dashboard/Dashboard.styles.tsx +++ b/src/components/backoffice/dashboard/Dashboard.styles.tsx @@ -27,9 +27,6 @@ export const StyledDashboardRightColumn = styled.div` export const StyledDashboardTitleContainer = styled.div` padding-bottom: 20px; - display: flex; - flex-direction: column; - gap: 20px; `; export const StyledDashboardCardContentContainer = styled.div` diff --git a/src/components/utils/Headings/Headings.styles.ts b/src/components/utils/Headings/Headings.styles.ts index 6a2af787d..94083f14b 100644 --- a/src/components/utils/Headings/Headings.styles.ts +++ b/src/components/utils/Headings/Headings.styles.ts @@ -15,7 +15,6 @@ export const StyledH1 = styled.h1` return COLORS.black; }}; text-align: ${(props) => (props.center ? 'center' : 'left')}; - margin: 0; `; export const StyledH2 = styled.h2` @@ -37,7 +36,6 @@ export const StyledH2 = styled.h2` span.orange { color: ${COLORS.primaryBlue}; } - margin: 0; `; export const StyledH3 = styled.h3` @@ -55,7 +53,6 @@ export const StyledH3 = styled.h3` }}; text-align: ${(props) => (props.center ? 'center' : 'left')}; font-size: ${(props) => (props.mobile ? '18px' : '24px')}; - margin: 0; `; export const StyledH4 = styled.h4` @@ -72,14 +69,12 @@ export const StyledH4 = styled.h4` }}; text-align: ${(props) => (props.center ? 'center' : 'left')}; font-size: ${(props) => (props.mobile ? '16px' : '20px')}; - margin: 0; `; export const StyledH5 = styled.h5` font-weight: ${(props) => props.weight}; line-height: 24px; margin-top: 0; - /* margin-bottom: 24px; */ color: ${(props) => { if (COLORS[props.color]) { return COLORS[props.color]; @@ -91,14 +86,12 @@ export const StyledH5 = styled.h5` }}; text-align: ${(props) => (props.center ? 'center' : 'left')}; font-size: ${(props) => (props.mobile ? '14px' : '16px')}; - margin: 0; `; export const StyledH6 = styled.h6` font-size: 14px; font-weight: ${(props) => props.weight}; line-height: 14px; - margin-bottom: 24px; color: ${(props) => { if (COLORS[props.color]) { return COLORS[props.color]; @@ -109,5 +102,4 @@ export const StyledH6 = styled.h6` return COLORS.black; }}; text-align: ${(props) => (props.center ? 'center' : 'left')}; - margin: 0; `;