@kiva/kv-components 3.90.2 → 3.90.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.90.3](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.90.2...@kiva/kv-components@3.90.3) (2024-08-06)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * adjust new card styling ([875d701](https://github.com/kiva/kv-ui-elements/commit/875d701b951660444f8d00d7ae1596958df604f3))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [3.90.2](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.90.1...@kiva/kv-components@3.90.2) (2024-08-05)
7
18
 
8
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "3.90.2",
3
+ "version": "3.90.3",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -82,5 +82,5 @@
82
82
  "optional": true
83
83
  }
84
84
  },
85
- "gitHead": "f5aee85ee4d01acdf40f6a155e891b0200fbef43"
85
+ "gitHead": "fd6310c268d93c40279f5c67119c83fc3a74fd3d"
86
86
  }
@@ -171,9 +171,7 @@
171
171
  </div>
172
172
  </div>
173
173
 
174
- <div
175
- class="tw-px-1 tw-grow"
176
- >
174
+ <div class="tw-px-1">
177
175
  <!-- Fundraising -->
178
176
  <div
179
177
  v-if="!hasProgressData"
@@ -358,18 +356,14 @@ export default {
358
356
  },
359
357
  computed: {
360
358
  imageAspectRatio() {
361
- return 178 / 328;
359
+ return 1 / 2;
362
360
  },
363
361
  imageDefaultWidth() {
364
- return 336;
362
+ return 500;
365
363
  },
366
364
  imageSizes() {
367
365
  return [
368
- { width: this.imageDefaultWidth, viewSize: 1024 },
369
- { width: this.imageDefaultWidth, viewSize: 768 },
370
- { width: 416, viewSize: 480 },
371
- { width: 374, viewSize: 414 },
372
- { width: 335, viewSize: 375 },
366
+ { width: this.imageDefaultWidth, viewSize: 375 },
373
367
  ];
374
368
  },
375
369
  lendersNumber() {
@@ -389,12 +383,6 @@ export default {
389
383
  <style lang="postcss" scoped>
390
384
  .card-container {
391
385
  @apply tw-flex tw-flex-col tw-bg-white tw-rounded tw-w-full tw-pb-1;
392
- height: 415px;
393
- }
394
- @screen md {
395
- .card-container {
396
- height: 423px;
397
- }
398
386
  }
399
387
  .loan-callouts >>> span {
400
388
  @apply !tw-bg-transparent tw-text-brand;
@@ -410,9 +398,6 @@ export default {
410
398
  .loan-card-progress:focus {
411
399
  @apply tw-no-underline;
412
400
  }
413
- .borrower-image >>> img {
414
- @apply tw-object-cover;
415
- }
416
401
  .loan-card-name {
417
402
  @apply tw-pt-1 tw-px-3 tw-text-ellipsis tw-overflow-hidden tw-line-clamp-1 tw-cursor-pointer;
418
403
  }