mp-design-system 0.9.25 → 0.9.26

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mp-design-system",
3
- "version": "0.9.25",
3
+ "version": "0.9.26",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "dev": "npm-run-all --parallel bundle:*",
@@ -353,6 +353,7 @@
353
353
  text-align: right;
354
354
  font-size: 1.5rem;
355
355
  transition: 300ms color;
356
+ z-index: 1;
356
357
 
357
358
  .c-icon {
358
359
  position: relative;
@@ -406,7 +407,7 @@
406
407
 
407
408
  &--event.c-card--has-image {
408
409
  @extend .c-card--switch;
409
-
410
+
410
411
  .c-card__wrapper {
411
412
  @include padding(0);
412
413
 
@@ -415,10 +416,12 @@
415
416
  }
416
417
 
417
418
  .c-card__image {
419
+ position: relative;
420
+
418
421
  img {
419
422
  height: 100%;
420
- width: auto;
421
423
  object-fit: cover;
424
+ aspect-ratio: 16 / 9;
422
425
  }
423
426
  }
424
427
 
@@ -431,6 +434,10 @@
431
434
  .c-card__image {
432
435
  width: calc(40% - 18px) !important;
433
436
  width: calc(40% - var(--space-s-m)) !important;
437
+
438
+ img {
439
+ position: absolute;
440
+ }
434
441
  }
435
442
  }
436
443
  }