Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
feat(COR-1713): passing correct spacing as prop to devider.
Browse files Browse the repository at this point in the history
  • Loading branch information
VWSCoronaDashboard35 committed Aug 14, 2023
1 parent 8a887f2 commit 3326c15
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions packages/app/src/components/divider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ import { space } from '~/style/theme';

export const Divider = styled.div<{
marginBottom?: any;
marginTop?: any;
}>(({ marginBottom, marginTop }) =>
}>(({ marginBottom }) =>
css({
width: '100%',
borderTop: `solid 2px ${colors.green3}`,
marginTop: marginTop,
marginBottom: marginBottom,
borderTop: `solid 2px ${colors.gray2}`,
marginTop: space[2],
marginBottom: `${marginBottom} !important`,
paddingY: space[2],
})
);
2 changes: 1 addition & 1 deletion packages/app/src/pages/gemeente/[code]/vaccinaties.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export const VaccinationsGmPage = (props: StaticProps<typeof getStaticProps>) =>
</InView>
)}

<Divider marginTop={space[3]} marginBottom={space[8]} style={{ marginBottom: `0px` }} />
<Divider marginBottom={space[4]} />

<PageInformationBlock
title={textNl.section_archived.title}
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/pages/landelijk/sterfte.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const DeceasedNationalPage = (props: StaticProps<typeof getStaticProps>) => {
</InView>
)}

<Divider style={{ marginBottom: space[3] }} />
<Divider marginBottom={space[4]} />

<PageInformationBlock
title={textNl.section_archived.title}
Expand Down

0 comments on commit 3326c15

Please sign in to comment.