mp-design-system 1.2.1 → 1.2.2

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": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "dev": "npm-run-all --parallel bundle:*",
@@ -7,6 +7,8 @@
7
7
  @include padding-left('l');
8
8
  position: relative;
9
9
  @include step(-1);
10
+ box-decoration-break: clone;
11
+ -webkit-box-decoration-break: clone;
10
12
 
11
13
  &:before {
12
14
  transform: translateY(-50%);
@@ -92,11 +94,9 @@
92
94
  }
93
95
  }
94
96
 
95
- .c-off-canvas {
96
- .c-checkbox-group {
97
- &> * {
98
- width: 100%;
99
- margin-left: 0;
100
- }
97
+ .c-off-canvas .c-checkbox-group {
98
+ &> * {
99
+ width: 100%;
100
+ margin-left: 0;
101
101
  }
102
102
  }
@@ -7,10 +7,10 @@
7
7
  {% endif %}
8
8
 
9
9
  <div>
10
- <div id="{{ params.target.id }}" class="u-flow--m">
10
+ <div id="{{ params.target.id }}" class="c-checkbox-group u-flow--m">
11
11
  <label class="c-label" data-off-canvas="header">{{ params.header }}</label>
12
- <div class="o-grid o-grid--of-three c-checkbox-group" data-off-canvas="main">
13
- {% for _ in ["3D structure / imaging", "Binding affinity", "Binding kinetics", "Chemical identification", "Contaminant detection and analysis", "Crystal structure determination", "Elemental analysis", "Elemental quantification", "Enzyme kinetics", "Epitaxy analysis", "Ground truthing", "Interface roughness", "Label-free analysis", "Microrheology", "Moisture content", "Molecular size", "Molecular structure", "Molecular weight", "Particle concentration", "Particle shape", "Particle size", "Phase identification", "Phase quantification", "Pore size distribution", "Powder flow", "Protein aggregation", "Protein mobility", "Protein stability", "Reciprocal space analysis", "Remote sensing", "Residual stress", "Texture analysis", "Thin film metrology", "Viscosity", "Zeta potential"] %}
12
+ <div class="o-grid o-grid--of-three" data-off-canvas="main">
13
+ {% for _ in ["3D structure / imaging", "Binding affinity", "Binding kinetics", "Chemical identification", "Contaminant detection and analysis", "Crystal structure determination", "Elemental analysis", "Elemental quantification", "Enzyme kinetics", "Epitaxy analysis"] %}
14
14
  <div>
15
15
  {{ checkbox({
16
16
  label: _,
@@ -92,4 +92,11 @@
92
92
  .c-off-canvas--mobile {
93
93
  display: none !important;
94
94
  }
95
+
96
+ .c-checkbox-group {
97
+ [data-off-canvas="header"],
98
+ [data-off-canvas="footer"] {
99
+ display: none;
100
+ }
101
+ }
95
102
  }