@comicrelief/component-library 8.89.0 → 8.89.1

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": "@comicrelief/component-library",
3
3
  "author": "Comic Relief Engineering Team",
4
- "version": "8.89.0",
4
+ "version": "8.89.1",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
7
7
  "files": [
@@ -37,12 +37,16 @@ const ButtonCard = styled.button`
37
37
  `;
38
38
 
39
39
  const CardTopWrapper = styled.div`
40
- margin: 0 0 8px 0;
40
+ margin: 0 0 4px 0;
41
41
  display: flex;
42
42
  flex-direction: row;
43
43
  align-items: flex-start;
44
44
  justify-content: space-between;
45
45
  gap: 0.5rem;
46
+
47
+ @media ${crTheme.allBreakpoints('M')} {
48
+ margin: 0 0 8px 0;
49
+ }
46
50
  `;
47
51
 
48
52
  const HeadingContentWrapper = styled.div`
@@ -48,7 +48,7 @@ exports[`renders correctly 1`] = `
48
48
  }
49
49
 
50
50
  .c2 {
51
- margin: 0 0 8px 0;
51
+ margin: 0 0 4px 0;
52
52
  display: flex;
53
53
  flex-direction: row;
54
54
  align-items: flex-start;
@@ -132,6 +132,12 @@ exports[`renders correctly 1`] = `
132
132
  }
133
133
  }
134
134
 
135
+ @media (min-width: 740px) {
136
+ .c2 {
137
+ margin: 0 0 8px 0;
138
+ }
139
+ }
140
+
135
141
  @media (min-width: 740px) {
136
142
  .c5 {
137
143
  font-size: 16px;