Change content container class to use sidebar
This commit is contained in:
parent
099cda8ebb
commit
6c04718c35
|
@ -3,7 +3,6 @@ import { breakpoint } from '@/theme';
|
||||||
import tw from 'twin.macro';
|
import tw from 'twin.macro';
|
||||||
|
|
||||||
const ContentContainer = styled.div`
|
const ContentContainer = styled.div`
|
||||||
max-width: 1200px;
|
|
||||||
${tw`mx-4`};
|
${tw`mx-4`};
|
||||||
|
|
||||||
${breakpoint('xl')`
|
${breakpoint('xl')`
|
||||||
|
@ -11,5 +10,8 @@ const ContentContainer = styled.div`
|
||||||
`};
|
`};
|
||||||
`;
|
`;
|
||||||
ContentContainer.displayName = 'ContentContainer';
|
ContentContainer.displayName = 'ContentContainer';
|
||||||
|
ContentContainer.defaultProps = {
|
||||||
|
className: 'content-container',
|
||||||
|
};
|
||||||
|
|
||||||
export default ContentContainer;
|
export default ContentContainer;
|
||||||
|
|
Loading…
Reference in New Issue