import styled from 'styled-components' import { responsiveBreakpoints } from '../../_utils/branding' import { MainContent } from './Content' export const Content = styled.div.attrs(() => ({ role: 'presentation', }))`` export const BottomContent = styled.div.attrs(() => ({ role: 'presentation', }))`` export const StyledMainContent = styled(MainContent)` display: flex; flex-direction: column; min-height: calc(100vh - ${props => props.topBarHeight}); min-height: stretch; justify-content: space-between; @media (${responsiveBreakpoints.isMediaLarge}) { justify-content: flex-start; } & > *:not(${Content}, ${BottomContent}) { flex-grow: 1; } `