@ilo-org/styles 0.8.0 → 0.8.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,7 +1,7 @@
1
1
  {
2
2
  "name": "@ilo-org/styles",
3
3
  "description": "Styles for products using ILO's Design System",
4
- "version": "0.8.0",
4
+ "version": "0.8.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/international-labour-organization/designsystem.git",
@@ -9,6 +9,7 @@
9
9
 
10
10
  box-sizing: border-box;
11
11
  position: relative;
12
+ background-color: map-get($color, "base", "neutrals", "white");
12
13
 
13
14
  // Max width is set in the invididual card types unless fluid
14
15
  max-width: var(--max-width);
@@ -85,6 +86,8 @@
85
86
  }
86
87
 
87
88
  &--wrapper {
89
+ max-width: var(--max-width);
90
+
88
91
  &:hover,
89
92
  &:focus,
90
93
  &:focus-within {
@@ -87,6 +87,11 @@
87
87
  }
88
88
  }
89
89
 
90
+ .ilo--card,
91
+ .ilo--card--wrapper {
92
+ height: 100%;
93
+ }
94
+
90
95
  &--button-wrap {
91
96
  display: flex;
92
97
  justify-content: center;
@@ -168,6 +168,10 @@
168
168
  width: 100%;
169
169
  z-index: -1;
170
170
  }
171
+
172
+ img {
173
+ object-fit: cover;
174
+ }
171
175
  }
172
176
 
173
177
  #{$self}--content {
@@ -195,6 +199,7 @@
195
199
  );
196
200
  font-family: $fonts-display;
197
201
  font-weight: 700;
202
+ flex: 1;
198
203
  }
199
204
 
200
205
  #{$self}--eyebrow {