From 3db4760782d93eba1925291d4a5ff755ef4dee02 Mon Sep 17 00:00:00 2001 From: Andrew Vit Date: Fri, 27 Aug 2010 23:57:45 -0700 Subject: [PATCH] Fixed error: there is no opposite-position(both) --- frameworks/compass/stylesheets/compass/layout/_floated.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frameworks/compass/stylesheets/compass/layout/_floated.scss b/frameworks/compass/stylesheets/compass/layout/_floated.scss index 00ee634c..65cbd126 100644 --- a/frameworks/compass/stylesheets/compass/layout/_floated.scss +++ b/frameworks/compass/stylesheets/compass/layout/_floated.scss @@ -24,9 +24,11 @@ $compass-right-gutter-width: floor($compass-gutter-width / 2); // Remove the gutter for a particular side of a floated element // pass `both` to disable the gutter on both sides. @mixin gutterless($side) { - margin-#{$side}: 0; @if $side == both { - margin-#{opposite-position($side)}: 0; + margin-left: 0; + margin-right: 0; + } @else { + margin-#{$side}: 0; } }