Skip to content

Commit

Permalink
Add max-width Sass variable (#2093)
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Puerto authored and mmistakes committed Apr 9, 2019
1 parent 29acb2a commit e4c0689
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _sass/minimal-mistakes/_masthead.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
font-family: $sans-serif-narrow;

@include breakpoint($x-large) {
max-width: $x-large;
max-width: $max-width;
}

nav {
Expand Down
2 changes: 1 addition & 1 deletion _sass/minimal-mistakes/_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
animation-delay: 0.15s;

@include breakpoint($x-large) {
max-width: $x-large;
max-width: $max-width;
}
}

Expand Down
2 changes: 1 addition & 1 deletion _sass/minimal-mistakes/_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
animation-delay: 0.15s;

@include breakpoint($x-large) {
max-width: $x-large;
max-width: $max-width;
}
}

Expand Down
1 change: 1 addition & 0 deletions _sass/minimal-mistakes/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ $medium: 768px !default;
$medium-wide: 900px !default;
$large: 1024px !default;
$x-large: 1280px !default;
$max-width: $x-large !default;

/*
Grid
Expand Down

0 comments on commit e4c0689

Please sign in to comment.