@internetstiftelsen/styleguide 4.1.12 → 4.1.13-beta.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetstiftelsen/styleguide",
3
- "version": "4.1.12",
3
+ "version": "4.1.13-beta.0.2",
4
4
  "main": "dist/components.js",
5
5
  "ports": {
6
6
  "fractal": "3000"
@@ -52,10 +52,6 @@
52
52
  @for $i from 1 through 3 {
53
53
  $col-gap: $gap * ($i - 1);
54
54
 
55
- @if $reversed == false {
56
- $col-gap: -$col-gap;
57
- }
58
-
59
55
  > .grid,
60
56
  > [class*='grid-']:nth-child(#{$i}) {
61
57
  transform: translateY(rhythm($col-gap));
@@ -66,6 +62,10 @@
66
62
  transform: translateY(rhythm($gap));
67
63
  }
68
64
  }
65
+
66
+ @if $reversed == false {
67
+ $col-gap: -$col-gap;
68
+ }
69
69
  }
70
70
  }
71
71
 
@@ -106,7 +106,6 @@
106
106
 
107
107
  @include bp-up(lg) {
108
108
 
109
-
110
109
  margin: rhythm($margin * 1.5) 0 0;
111
110
 
112
111
  &:not(.asymmetric-reversed) {
@@ -116,8 +115,8 @@
116
115
 
117
116
  &.asymmetric-reversed {
118
117
  $bp-gap: $gap;
119
- @include make-asymmetric-cols($bp-gap, true);
120
118
  margin-bottom: calc(125px);
119
+ @include make-asymmetric-cols($bp-gap, true);
121
120
  }
122
121
  }
123
122
 
@@ -131,8 +130,8 @@
131
130
 
132
131
  &.asymmetric-reversed {
133
132
  $bp-gap: $gap;
134
- @include make-asymmetric-cols($bp-gap, true);
135
133
  margin-bottom: calc(150px);
134
+ @include make-asymmetric-cols($bp-gap, true);
136
135
  }
137
136
  }
138
137
  }