mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 08:31:23 -05:00
Fix bad variable interpolation/calculation
This used to work, even though it shouldn’t have. Upgrading node-sass caused our breakpoints to … break
This commit is contained in:
parent
133dd14cc9
commit
01cf9ca5b5
1 changed files with 8 additions and 8 deletions
|
@ -48,20 +48,20 @@ $mobile: 480px;
|
||||||
* ... intermediate-and-smaller |
|
* ... intermediate-and-smaller |
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$small: "only screen and (max-width : #{$mobile}-1)";
|
$small: "only screen and (max-width : #{$mobile - 1})";
|
||||||
$medium: "only screen and (min-width : #{$mobile}) and (max-width : #{$tabletPortrait}-1)";
|
$medium: "only screen and (min-width : #{$mobile}) and (max-width : #{$tabletPortrait - 1})";
|
||||||
$intermediate: "only screen and (min-width : #{$tabletPortrait}) and (max-width : #{$desktop}-1)";
|
$intermediate: "only screen and (min-width : #{$tabletPortrait}) and (max-width : #{$desktop - 1})";
|
||||||
$big: "only screen and (min-width : #{$desktop})";
|
$big: "only screen and (min-width : #{$desktop})";
|
||||||
|
|
||||||
$medium-and-smaller: "only screen and (max-width : #{$tabletPortrait}-1)";
|
$medium-and-smaller: "only screen and (max-width : #{$tabletPortrait - 1})";
|
||||||
$intermediate-and-smaller: "only screen and (max-width : #{$desktop}-1)";
|
$intermediate-and-smaller: "only screen and (max-width : #{$desktop - 1})";
|
||||||
|
|
||||||
$medium-and-intermediate: "only screen and (min-width : #{$mobile}) and (max-width : #{$desktop}-1)";
|
$medium-and-intermediate: "only screen and (min-width : #{$mobile}) and (max-width : #{$desktop - 1})";
|
||||||
|
|
||||||
/* Height */
|
/* Height */
|
||||||
|
|
||||||
$small-height: "only screen and (max-height : #{$mobile} - 1)";
|
$small-height: "only screen and (max-height : #{$mobile - 1})";
|
||||||
$medium-height: "only screen and (min-height : #{$mobile}) and (max-height : #{$tabletPortrait} - 1)";
|
$medium-height: "only screen and (min-height : #{$mobile}) and (max-height : #{$tabletPortrait - 1})";
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue