Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

Commit

Permalink
fix: container breakpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
griffithtp committed Jul 8, 2019
1 parent 30568bf commit 60b7161
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/ActionBar/ActionBar.test.tsx
Expand Up @@ -14,7 +14,7 @@ describe('<ActionBar /> component', () => {
url: 'https://verdaccio.tld/bugs',
},
dist: {
tarball: 'https://verdaccio.tld/download'
tarball: 'https://verdaccio.tld/download',
},
},
};
Expand Down
4 changes: 2 additions & 2 deletions src/utils/styles/global.ts
Expand Up @@ -32,8 +32,8 @@ export default injectGlobal`
padding: 15px;
flex: 1;
@media screen and (min-width: ${breakpoints.large}px) {
max-width: ${breakpoints.large}px;
@media screen and (min-width: ${breakpoints.container}px) {
max-width: ${breakpoints.container}px;
width: 100%;
margin-left: auto;
margin-right: auto;
Expand Down
1 change: 1 addition & 0 deletions src/utils/styles/media.ts
Expand Up @@ -4,6 +4,7 @@ export const breakpoints = {
small: 576,
medium: 768,
large: 1024,
container: 1240,
xlarge: 1275,
};

Expand Down

0 comments on commit 60b7161

Please sign in to comment.