Skip to content

Commit

Permalink
Fix ordering on compiled grid offset classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrtsmith committed Nov 3, 2016
1 parent a66c264 commit e8a976e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions nebula-css/tools/_offsets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@
.#{$nb-namespace}u-#{$class}#{$modifier} {
#{$property}: $offset-value;
}
}

@each $bp-key, $bp-value in $nb-breakpoints {
@include nb-respond-to($bp-key) {
@each $bp-key, $bp-value in $nb-breakpoints {
@include nb-respond-to($bp-key) {
@each $key, $value in $fractions {
$modifier: nb-str-replace($key, '/', '\\/');
$offset-value: (($value * 100) * 1%);
.#{$nb-namespace}u-#{$class}#{$modifier}\@#{$bp-key} {
#{$property}: $offset-value;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nebula-css",
"version": "2.2.8",
"version": "2.2.9",
"description": "ITCSS and BEMIT based framework that is ultra exensible and scales to any project size",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit e8a976e

Please sign in to comment.