Sha256: 025ecfacea62f97609979723ce35c43a52e107a3c1318a5ec780efe64a2a8134

Contents?: true

Size: 296 Bytes

Versions: 3

Compression:

Stored size: 296 Bytes

Contents

@function end-row($span, $location, $columns) {
  $columns: find-grid($columns);

  @if $location == 'last' or $location == 'omega' {
    @return true;
  }
  @else {
    @if $location + ($span - 1) == column-count($columns) {
      @return true;
    }
    @else {
      @return false;
    }
  }
}

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
singularitygs-1.0.1 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.0.0 stylesheets/singularitygs/helpers/_columns.scss
susy-2.0.0.alpha.1 sass/susy/helpers/_columns.scss