Adjusted accordion spacing

This commit is contained in:
Mitchell McCaffrey 2020-07-01 16:29:16 +10:00
parent 1aeb5e71d7
commit 9be997799d

View File

@ -11,6 +11,7 @@ function Accordion({ heading, children, defaultOpen }) {
<Flex <Flex
sx={{ justifyContent: "space-between" }} sx={{ justifyContent: "space-between" }}
onClick={() => setOpen(!open)} onClick={() => setOpen(!open)}
my={1}
> >
<Text as="h1" variant="heading" sx={{ fontSize: 5 }}> <Text as="h1" variant="heading" sx={{ fontSize: 5 }}>
{heading} {heading}