Skip to content

Commit e8a976e

Browse files
committed
Fix ordering on compiled grid offset classes.
1 parent a66c264 commit e8a976e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

nebula-css/tools/_offsets.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@
1818
.#{$nb-namespace}u-#{$class}#{$modifier} {
1919
#{$property}: $offset-value;
2020
}
21+
}
2122

22-
@each $bp-key, $bp-value in $nb-breakpoints {
23-
@include nb-respond-to($bp-key) {
23+
@each $bp-key, $bp-value in $nb-breakpoints {
24+
@include nb-respond-to($bp-key) {
25+
@each $key, $value in $fractions {
26+
$modifier: nb-str-replace($key, '/', '\\/');
27+
$offset-value: (($value * 100) * 1%);
2428
.#{$nb-namespace}u-#{$class}#{$modifier}\@#{$bp-key} {
2529
#{$property}: $offset-value;
2630
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nebula-css",
3-
"version": "2.2.8",
3+
"version": "2.2.9",
44
"description": "ITCSS and BEMIT based framework that is ultra exensible and scales to any project size",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)