aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/components/container.tsx
blob: 192d82af815d60a0de1133c5251e402a400eabfa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import styled from 'styled-components';

interface ContainerProps {
    wide?: boolean;
}

const Container = styled.div<ContainerProps>`
    max-width: 77.5rem;
    margin: 0 auto;
    width: ${props => (props.wide ? '100%' : 'calc(100% - 5rem)')};
`;

export { Container };