Skip to content

Commit

Permalink
Add max-width Sass variable (mmistakes#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 22a1fc2 commit d31c633
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 d31c633

Please sign in to comment.