feat: estiloak sortzen ditu
This commit is contained in:
21
front/src/components/Container.tsx
Normal file
21
front/src/components/Container.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import { rem } from 'polished';
|
||||
import styled from 'styled-components';
|
||||
import { media } from '../ui/theme/media';
|
||||
import { size } from '../ui/theme/size';
|
||||
|
||||
export const Container = styled.div`
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-left: ${rem(size.tiny)};
|
||||
padding-right: ${rem(size.tiny)};
|
||||
|
||||
width: 100%;
|
||||
|
||||
${media.tablet`
|
||||
width: 744px;
|
||||
`}
|
||||
|
||||
${media.desktop`
|
||||
width: 1014px;
|
||||
`}
|
||||
`;
|
||||
Reference in New Issue
Block a user