diff options
Diffstat (limited to 'scss/functions/compass/gradients.py')
-rw-r--r-- | scss/functions/compass/gradients.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/functions/compass/gradients.py b/scss/functions/compass/gradients.py index 5119b39..20646f1 100644 --- a/scss/functions/compass/gradients.py +++ b/scss/functions/compass/gradients.py @@ -314,8 +314,8 @@ def linear_gradient(*args): def to__owg(): args = [ 'linear', - position(position_and_angle or ['center', 'top']), - opposite_position(position_and_angle or ['center', 'top']), + position(position_and_angle or None), + opposite_position(position_and_angle or None), ] args.extend('color-stop(%s, %s)' % (to_str(s), c) for s, c in color_stops) ret = '-webkit-gradient(' + ', '.join(to_str(a) for a in args or [] if a is not None) + ')' |