Browse Source

changed stack default in provider

pull/5/head
remorses 1 year ago
parent
commit
116a6d9fd2
3 changed files with 3 additions and 1 deletions
  1. +1
    -0
      landing-blocks/src/LandingProvider.tsx
  2. +1
    -1
      landing-blocks/src/Section.tsx
  3. +1
    -0
      website/pages/index.tsx

+ 1
- 0
landing-blocks/src/LandingProvider.tsx View File

@ -113,6 +113,7 @@ export function LandingProvider({
height='100%'
fontFamily={fontFamily}
spacing={spacing}
align='stretch'
color={dark ? 'white' : 'black'}
borderColor={dark ? 'rgba(255,255,255,.3)' : 'gray.300'}
{...rest}

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

@ -20,7 +20,7 @@ export const Section = ({ children, degree = 2, ...props }: SectionProps) => {
}
return (
<Stack spacing='0px' position='relative' as='section' {...spacing}>
<Stack width='100%' m={0} spacing={spacing.spacing}>
<Stack align='stretch' width='100%' m={0} spacing={spacing.spacing}>
{children}
</Stack>
<Box m={0} {...baseProps} />

+ 1
- 0
website/pages/index.tsx View File

@ -34,6 +34,7 @@ const BG_IMG = 'linear-gradient(281deg, #a18aaf 0%, #5e629d 100%)'
const Page = () => (
<LandingProvider primary='white'>
<Section
py='100px'
mt='-100px'
spacing='60px'

Loading…
Cancel
Save