Skip to content

Commit

Permalink
nth-omega using omega to backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Duke committed Nov 11, 2012
1 parent 9914275 commit 85c7016
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions app/assets/stylesheets/grid/_grid.scss
Expand Up @@ -106,17 +106,8 @@ $fg-max-width: $max-width;
} }


@mixin nth-omega($nth, $display: block, $direction: right) { @mixin nth-omega($nth, $display: block, $direction: right) {
@if $display == table { @warn "The nth-omega() mixin was deplecated. Please use omega()";

This comment has been minimized.

Copy link
@treppo

treppo Dec 9, 2012

You got a typo there, should be:

@warn "The nth-omega() mixin was deprecated. Please use omega()";
&:nth-child(#{$nth}) { @include omega($nth, $display, $direction);
padding-#{$direction}: 0;
}
}

@else {
&:nth-child(#{$nth}) {
margin-#{$direction}: 0;
}
}
} }


// Fill 100% of parent // Fill 100% of parent
Expand Down

0 comments on commit 85c7016

Please sign in to comment.