Skip to content

Commit

Permalink
fix: set last section min-height
Browse files Browse the repository at this point in the history
fixes #820
  • Loading branch information
RomanHotsiy committed Feb 26, 2019
1 parent 0473165 commit 4dd79cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/common-elements/panels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
`}
Expand Down

0 comments on commit 4dd79cd

Please sign in to comment.