fix: set last section min-height

fixes #820
This commit is contained in:
Roman Hotsiy 2019-02-26 10:20:43 +02:00
parent 04731656db
commit 4dd79cd840
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -17,6 +17,10 @@ export const Section = styled.div.attrs(props => ({
}))<{ underlined?: boolean }>`
padding: ${props => props.theme.spacing.sectionVertical}px 0;
&:last-child {
min-height: calc(100vh + 1px);
}
${media.lessThan('medium', true)`
padding: 0;
`}