Skip to content
Browse files

nth-omega using omega to backward compatibility

  • Loading branch information...
1 parent 9914275 commit 85c70169957a5ff983f565c1edb036422f678c35 @dukex committed Nov 11, 2012
Showing with 2 additions and 11 deletions.
  1. +2 −11 app/assets/stylesheets/grid/_grid.scss
View
13 app/assets/stylesheets/grid/_grid.scss
@@ -106,17 +106,8 @@ $fg-max-width: $max-width;
}
@mixin nth-omega($nth, $display: block, $direction: right) {
- @if $display == table {
- &:nth-child(#{$nth}) {
- padding-#{$direction}: 0;
- }
- }
-
- @else {
- &:nth-child(#{$nth}) {
- margin-#{$direction}: 0;
- }
- }
+ @warn "The nth-omega() mixin was deplecated. Please use omega()";
@treppo
treppo added a note Dec 9, 2012

You got a typo there, should be:

@warn "The nth-omega() mixin was deprecated. Please use omega()";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ @include omega($nth, $display, $direction);
}
// Fill 100% of parent

0 comments on commit 85c7016

Please sign in to comment.
Something went wrong with that request. Please try again.