diff --git a/lib/compass/sass_extensions/functions/gradient_support.rb b/lib/compass/sass_extensions/functions/gradient_support.rb index 09df7cf5..445faeff 100644 --- a/lib/compass/sass_extensions/functions/gradient_support.rb +++ b/lib/compass/sass_extensions/functions/gradient_support.rb @@ -107,9 +107,11 @@ module Compass::SassExtensions::Functions::GradientSupport else case position when /top|bottom/ - "left #{position}" + "center #{position}" when /left|right/ - "#{position} top" + "#{position} center" + when /center/ + "center center" else position end