Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

nth-omega using omega to backward compatibility

  • Loading branch information...
commit 85c70169957a5ff983f565c1edb036422f678c35 1 parent 9914275
@dukex authored
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

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
@treppo

You got a typo there, should be:

@warn "The nth-omega() mixin was deprecated. Please use omega()";
Please sign in to comment.
Something went wrong with that request. Please try again.