sass/ezy/_grid.scss in ezy-0.2.8 vs sass/ezy/_grid.scss in ezy-0.2.9
- old
+ new
@@ -106,11 +106,11 @@
$context : $total-columns,
$at-breakpoint : $at-breakpoint
) {
$pullout: -( $gutter-width )/2;
@if $is-fluid and $context {
- $pullout: -( percentage-round( $gutter-width / layout-width( $context ) ) )/2;
+ $pullout: -( percentage( $gutter-width / layout-width( $context ) ) )/2;
} @else if $is-fluid {
@warn $context-warn;
}
margin: {
left: $pullout;
@@ -197,10 +197,10 @@
) {
$width: span-column-width( $columns );
@if $is-fluid and $context {
/* Spanning #{ $columns } of #{ $context } columns */
$context-width: context-width( $context );
- $pct-width: percentage-round( $width / $context-width );
+ $pct-width: percentage( $width / $context-width );
width: $pct-width;
} @else {
/* Spanning #{ $columns } columns */
width: $width;
}