From aef01647769828112439f30998968321965a27b9 Mon Sep 17 00:00:00 2001 From: "James W. Lane III" Date: Fri, 27 Jun 2014 15:18:23 -0500 Subject: [PATCH] Fix for Incompatible units: 'rem' and 'px' When setting a size for the switch heights, the defaults are set in rem and comparing it to px is causing a syntax error. So I switched it to use the rem-calc() mixin to resolve the error. --- scss/foundation/_settings.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scss/foundation/_settings.scss b/scss/foundation/_settings.scss index a9d7a20be..631ac9e0d 100644 --- a/scss/foundation/_settings.scss +++ b/scss/foundation/_settings.scss @@ -1062,10 +1062,10 @@ // $switch-bg: #fff; // We use these to control the switch heights for our default classes -// $switch-height-tny: 22px; -// $switch-height-sml: 28px; -// $switch-height-med: 36px; -// $switch-height-lrg: 44px; +// $switch-height-tny: rem-calc(22); +// $switch-height-sml: rem-calc(28); +// $switch-height-med: rem-calc(36); +// $switch-height-lrg: rem-calc(44); // $switch-bottom-margin: rem-calc(20); // We use these to control default font sizes for our classes. -- 2.47.2