stylesheets/singularitygs/api/_calc.scss in singularitygs-1.5.0 vs stylesheets/singularitygs/api/_calc.scss in singularitygs-1.5.1

- old
+ new

@@ -127,15 +127,19 @@ $Min-Width: '#{$Min-Width})'; $Width: '#{$Width})'; } } - $Min-Map: ('min-width': ('webkit' : -webkit-calc(#{unquote($Min-Width)}), 'standard': calc(#{unquote($Min-Width)}) )); - $Span-Map: ('width': ('webkit': -webkit-calc(#{unquote($Width)}), 'standard': calc(#{unquote($Width)}) ) ); + // Min width handling + @if $Min-Width != ')' { + $Min-Map: ('min-width': ('webkit' : -webkit-calc(#{unquote($Min-Width)}), 'standard': calc(#{unquote($Min-Width)}) )); - @if sgs-get('calc include min-width') { - $Return: map-merge($Return, $Min-Map); + @if sgs-get('calc include min-width') { + $Return: map-merge($Return, $Min-Map); + } } + + $Span-Map: ('width': ('webkit': -webkit-calc(#{unquote($Width)}), 'standard': calc(#{unquote($Width)}) ) ); $Return: map-merge($Return, $Span-Map); } // Build margins and Floats @if ($End-Row) {