From cfde4899e4947ecdaaf5c0c8a927ff021a005191 Mon Sep 17 00:00:00 2001 From: Jack Sharkey Date: Mon, 2 Mar 2015 11:05:11 -0500 Subject: [PATCH] adding decimal place to breakpoints/ranges in both _globals.scss and _settings.scss as '.063' ends up leaving a tailing .008 in the calculation, and Chrome rounds up (meaning the 641 med range won't kick in until 642, large won't kick in until 1026, etc; this creates some really messed up displays right at the breakpoints as of right now --- scss/foundation/_settings.scss | 8 ++++---- scss/foundation/components/_global.scss | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/scss/foundation/_settings.scss b/scss/foundation/_settings.scss index affe28a64..3a2e65624 100644 --- a/scss/foundation/_settings.scss +++ b/scss/foundation/_settings.scss @@ -152,10 +152,10 @@ $include-html-global-classes: $include-html-classes; // - - - - - - - - - - - - - - - - - - - - - - - - - // $small-range: (0em, 40em); -// $medium-range: (40.063em, 64em); -// $large-range: (64.063em, 90em); -// $xlarge-range: (90.063em, 120em); -// $xxlarge-range: (120.063em, 99999999em); +// $medium-range: (40.0625em, 64em); +// $large-range: (64.0625em, 90em); +// $xlarge-range: (90.0625em, 120em); +// $xxlarge-range: (120.0625em, 99999999em); // $screen: "only screen"; diff --git a/scss/foundation/components/_global.scss b/scss/foundation/components/_global.scss index 22983bc6a..8943a7bc5 100644 --- a/scss/foundation/components/_global.scss +++ b/scss/foundation/components/_global.scss @@ -297,10 +297,10 @@ $column-gutter: rem-calc(30) !default; // Media Query Ranges $small-range: (0, 40em) !default; -$medium-range: (40.063em, 64em) !default; -$large-range: (64.063em, 90em) !default; -$xlarge-range: (90.063em, 120em) !default; -$xxlarge-range: (120.063em, 99999999em) !default; +$medium-range: (40.0625em, 64em) !default; +$large-range: (64.0625em, 90em) !default; +$xlarge-range: (90.0625em, 120em) !default; +$xxlarge-range: (120.0625em, 99999999em) !default; $screen: "only screen" !default; -- 2.47.2