Add max-width to container (#144)

- Closes #135
main
Michael Fix 7 years ago committed by GitHub
parent 94e4767808
commit 70e9e40811
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -121,6 +121,8 @@ class Carbon extends React.Component {
#container { #container {
position: relative; position: relative;
min-width: ${config.widthAdjustment ? '90px' : '680px'}; min-width: ${config.widthAdjustment ? '90px' : '680px'};
max-width: 1024px; /* The Fallback */
max-width: 92vw;
padding: ${config.paddingVertical} ${config.paddingHorizontal}; padding: ${config.paddingVertical} ${config.paddingHorizontal};
} }

Loading…
Cancel
Save