Sha256: 8398161fd4c27fca4be99805e30682de8c319a4c7d648e235879e7b419a2d77a
Contents?: true
Size: 592 Bytes
Versions: 4
Compression:
Stored size: 592 Bytes
Contents
////////////////////////////// // Find Grid // // Finds the grid that you are on. // From Singularity // Must be using Breakpoint to work properly ////////////////////////////// @function find-grid($user-columns: false) { // We supply a default if the user hasn't set any grids and hasn't passed in a custom column set // The default supplied is based on original Susy options @if length($grids) == 0 and $user-columns == false { $user-columns: 12; } $found: find-object($grids, $user-columns); @if length($found) == 1 { $found: nth($found, 1); } @return $found; }
Version data entries
4 entries across 4 versions & 1 rubygems