aboutsummaryrefslogblamecommitdiffstats
path: root/packages/dev-tools-pages/ts/components/Container.tsx
blob: 53fb8427f960441f3704a2448ecc2d5766604f3e (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                       







                          
                       
                   
                                                                      


                         
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% - 3.75rem)')};
`;

export default Container;