@transferwise/neptune-css 14.3.22 → 14.3.24

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": "@transferwise/neptune-css",
3
3
  "description": "Neptune CSS library",
4
- "version": "14.3.22",
4
+ "version": "14.3.24",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -53,5 +53,5 @@
53
53
  "bin": {
54
54
  "neptune-css-upgrade-util": "scripts/neptune-css-upgrader.js"
55
55
  },
56
- "gitHead": "8c7ed9a3d874fec994518af1c0e2fc149d6d565f"
56
+ "gitHead": "263d87c40ee0e46f689af8875749c20a2bd7adc1"
57
57
  }
@@ -41,6 +41,7 @@
41
41
 
42
42
  .media,
43
43
  &.media {
44
+ width: 100%;
44
45
  padding: var(--size-16) var(--size-12);
45
46
 
46
47
  .np-theme-personal & {
@@ -280,13 +280,18 @@
280
280
 
281
281
  .np-checkbox__text,
282
282
  .np-radio__text {
283
- // Account for our funky font baseline
284
- padding-top: 3px;
285
283
  display: block;
286
284
  font-weight: var(--font-weight-regular);
287
285
  font-size: var(--font-size-16);
288
286
  line-height: var(--line-height-20);
289
287
 
288
+ // Account for our funky font baseline
289
+ padding-top: 3px;
290
+
291
+ .np-theme-personal & {
292
+ padding-top: 1px; // `0` would look off due to checkbox misalignment
293
+ }
294
+
290
295
  span,
291
296
  small {
292
297
  font-size: var(--font-size-14);