Browse Source

fixed section

pull/5/head
remorses 1 year ago
parent
commit
2a30817a2b
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      landing-blocks/src/Section.tsx

+ 4
- 4
landing-blocks/src/Section.tsx View File

@ -19,10 +19,7 @@ export const Section = ({ children, degree = 2, ...props }: SectionProps) => {
...rest,
}
return (
<Stack spacing='0px' position='relative' as='section' {...spacing}>
<Stack align='stretch' width='100%' m={0} spacing={spacing.spacing}>
{children}
</Stack>
<Stack spacing='0px' position='relative' as='section' {...rest}>
<Box m={0} {...baseProps} />
<Box
{...baseProps}
@ -38,6 +35,9 @@ export const Section = ({ children, degree = 2, ...props }: SectionProps) => {
transformOrigin='70%'
opacity={0.1}
/>
<Stack align='stretch' width='100%' m={0} {...spacing}>
{children}
</Stack>
</Stack>
)
}

Loading…
Cancel
Save