Add bigger container max-width for desktop view

This commit is contained in:
Alice Gaudon 2021-01-26 11:37:08 +01:00
parent 5eaebd5d12
commit 1043690a5d
2 changed files with 6 additions and 5 deletions

View File

@ -29,3 +29,4 @@ $errorColor: desaturate($errorText, 50%);
// Responsivity
$mobileThreshold: 632px;
$desktopThreshold: 940px;

View File

@ -650,16 +650,16 @@ button, .button {
}
@mixin container {
width: $mobileThreshold;
padding: 0 16px;
width: 100%;
padding: 0 8px;
@media (min-width: $mobileThreshold) {
margin: 0 auto;
padding: 0 16px;
}
@media (max-width: $mobileThreshold) {
width: 100%;
padding: 0 8px;
@media (min-width: $desktopThreshold) {
width: $desktopThreshold;
}
}