Skip to content

Commit

Permalink
fix(Layout): make page wrapper border-box to avoid unnecessary scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed May 3, 2019
1 parent d274653 commit 7ed866e
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ const Wrapper = styled.div`
flex-direction: row;
justify-content: flex-start;
align-items: flex-start;
height: calc(100% - 100px);
width: 100%;
height: calc(100% - 60px);
overflow-y: auto;
width: 100%;
> div {
box-sizing: border-box;
}
`

class PageContainer extends React.Component {
Expand Down

0 comments on commit 7ed866e

Please sign in to comment.