@internetstiftelsen/styleguide 3.0.1 → 3.0.2-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": "3.0.1",
3
+ "version": "3.0.2-beta.0.2",
4
4
  "main": "dist/components.js",
5
5
  "ports": {
6
6
  "fractal": "3000"
@@ -31,7 +31,7 @@ h2,
31
31
  $leading-bottom: 1,
32
32
  $baseline: $headings-baseline
33
33
  );
34
-
34
+
35
35
  font-family: $font-family-headings;
36
36
 
37
37
  @include bp-up(sm) {
@@ -167,16 +167,14 @@
167
167
  height: auto;
168
168
 
169
169
  @include bp-up(md) {
170
+ flex-direction: row;
171
+ height: auto;
172
+
170
173
  h1,
171
174
  h2 {
172
175
  font-size: rem(32px);
173
176
  line-height: 1.2;
174
177
  }
175
- }
176
-
177
- @include bp-up(md) {
178
- flex-direction: row;
179
- height: auto;
180
178
 
181
179
  @include e(content) {
182
180
  display: flex;
@@ -199,6 +197,15 @@
199
197
  border-bottom-left-radius: $border-radius;
200
198
  }
201
199
 
200
+ picture {
201
+ display: flex;
202
+ max-width: 50%;
203
+
204
+ @include e(media) {
205
+ max-width: 100%;
206
+ }
207
+ }
208
+
202
209
  @include e(bottom) {
203
210
  margin-top: 0;
204
211
  }