Skip to content

Commit

Permalink
container box-sizing prop
Browse files Browse the repository at this point in the history
  • Loading branch information
receptiryaki committed Apr 14, 2020
1 parent 4f6c8dc commit d8f69cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Container/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import styled from 'styled-components/macro';

const Container = styled.div`
width: calc(960px + 1.5rem * 2);
width: 960px;
margin: 0 auto;
padding: 0 1.5rem;
box-sizing: content-box;
`;

export default Container;

0 comments on commit d8f69cc

Please sign in to comment.