@comicrelief/component-library 8.87.0 → 8.87.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/dist/index.cjs.js CHANGED
@@ -380,7 +380,7 @@ Valid keys: `+JSON.stringify(Object.keys(S),null," "));var De=Pe(oe,ke,ne,se,H+
380
380
  // While Button heights now scale to fit content (important for lots
381
381
  // of copy on a small breakpoint), we so still need to constrain the
382
382
  // icon, to prevent silliness:
383
- height: calc(3rem - (var(--padding-top-and-bottom) * 2));
383
+ height: 1.25rem;
384
384
  }
385
385
 
386
386
  ${t&&g.css`
package/dist/index.es.js CHANGED
@@ -1859,7 +1859,7 @@ const jn = {
1859
1859
  // While Button heights now scale to fit content (important for lots
1860
1860
  // of copy on a small breakpoint), we so still need to constrain the
1861
1861
  // icon, to prevent silliness:
1862
- height: calc(3rem - (var(--padding-top-and-bottom) * 2));
1862
+ height: 1.25rem;
1863
1863
  }
1864
1864
 
1865
1865
  ${t && X`
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.87.0",
4
+ "version": "8.87.1",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
7
7
  "files": [
@@ -72,7 +72,7 @@ const StyledButton = styled.button`
72
72
  // While Button heights now scale to fit content (important for lots
73
73
  // of copy on a small breakpoint), we so still need to constrain the
74
74
  // icon, to prevent silliness:
75
- height: calc(3rem - (var(--padding-top-and-bottom) * 2));
75
+ height: 1.25rem;
76
76
  }
77
77
 
78
78
  ${($iconLeft && css`