mp-design-system 0.6.3 → 0.6.4

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.6.3",
3
+ "version": "0.6.4",
4
4
  "description": "",
5
5
  "main": "app.js",
6
6
  "scripts": {
@@ -418,3 +418,7 @@
418
418
  @include gap("s-l");
419
419
  }
420
420
  }
421
+
422
+ // IE11 fix
423
+ // This forces IE11 to use display:block instead of flex for single-column cards
424
+ _:-ms-fullscreen, :root .c-card, :root .c-card--layout-single .c-card__wrapper { display:block; }
@@ -26,7 +26,6 @@ $grid-gutter-width: 36;
26
26
  display: flex;
27
27
  flex-wrap: wrap;
28
28
  justify-content: stretch;
29
- align-items: flex-start;
30
29
  margin-bottom: calc(-1 * #{space-unit()});
31
30
  margin-bottom: calc(-1 * var(--gutter));
32
31
  width: 100%;
@@ -6,25 +6,61 @@ layout: patterns-page
6
6
  {% from "components/card/macro.njk" import card %}
7
7
 
8
8
  <div class="o-grid o-grid--of-three o-grid--swipeable">
9
- {% for _ in [0, 1, 2] %}
10
- {{ card({
11
- theme: {
12
- layout: 'single',
13
- size: 'medium',
14
- name: 'alt'
15
- },
16
- image: {
17
- src: '/static/img/blog-page-image-1.jpg',
18
- alt: ''
19
- },
20
- header: {
21
- title: 'Mixing it with the Mastersizer!'
22
- },
23
- body: {
24
- content: '<p>At a major leading manufacturer of mixing equipment, the Mastersizer particle size analyzer is one of the analytical instruments used by customers during process simulations.</p>'
25
- },
26
- link: '/prototype/blog-post',
27
- tag: 'News'
28
- }) }}
29
- {% endfor %}
9
+ {{ card({
10
+ theme: {
11
+ layout: 'single',
12
+ size: 'medium',
13
+ name: 'alt'
14
+ },
15
+ image: {
16
+ src: '/static/img/blog-page-image-1.jpg',
17
+ alt: ''
18
+ },
19
+ header: {
20
+ title: 'Mixing it with the Mastersizer!'
21
+ },
22
+ body: {
23
+ content: '<p>At a major leading manufacturer of mixing equipment, the Mastersizer particle size analyzer is one of the analytical instruments used by customers during process simulations.</p>'
24
+ },
25
+ link: '/prototype/blog-post',
26
+ tag: 'News'
27
+ }) }}
28
+ {{ card({
29
+ theme: {
30
+ layout: 'single',
31
+ size: 'medium',
32
+ name: 'alt'
33
+ },
34
+ image: {
35
+ src: '/static/img/blog-page-image-1.jpg',
36
+ alt: ''
37
+ },
38
+ header: {
39
+ title: 'GPC/SEC standards: making them last'
40
+ },
41
+ body: {
42
+ content: '<p>Earlier this year I highlighted the different types of GPC/SEC standards available and where to find them on our eStore. In this post, I’m going to share some tips and tricks about preparing your standards and making them last. But first, what standard should you be using? In my previous post, I discussed how the […]</p>'
43
+ },
44
+ link: '/prototype/blog-post',
45
+ tag: 'News'
46
+ }) }}
47
+ {{ card({
48
+ theme: {
49
+ layout: 'single',
50
+ size: 'medium',
51
+ name: 'alt'
52
+ },
53
+ image: {
54
+ src: '/static/img/blog-page-image-1.jpg',
55
+ alt: ''
56
+ },
57
+ header: {
58
+ title: 'Viral Vector Vaccines: A Borrowed Technology from Gene Therapy Advancements'
59
+ },
60
+ body: {
61
+ content: '<p>Advances in recombinant DNA technology, genomics, and immunology have greatly influenced the vaccine development process. The genetic manipulation of viruses makes them suitable as vectors for gene delivery, providing a novel and unique opportunity for vaccine design. Viruses survive and replicate by invading their host’s cells and hijacking their protein-making machinery. These virus particles contain […]</p>'
62
+ },
63
+ link: '/prototype/blog-post',
64
+ tag: 'News'
65
+ }) }}
30
66
  </div>