diff --git a/src/app/shared/components/add-card/add-card.component.html b/src/app/shared/components/add-card/add-card.component.html
index 4b11e2342d..dbaec135d9 100644
--- a/src/app/shared/components/add-card/add-card.component.html
+++ b/src/app/shared/components/add-card/add-card.component.html
@@ -1,9 +1,9 @@
-
+
No card added yet!
-
diff --git a/src/app/shared/components/add-card/add-card.component.spec.ts b/src/app/shared/components/add-card/add-card.component.spec.ts
index 3464e34951..c549961fb3 100644
--- a/src/app/shared/components/add-card/add-card.component.spec.ts
+++ b/src/app/shared/components/add-card/add-card.component.spec.ts
@@ -42,11 +42,11 @@ describe('AddCardComponent', () => {
expect(zeroStateMessageElement).toBeNull();
});
- it('should raise an event addCardClick when the add card button is clicked', () => {
+ it('should raise an event addCardClick when the add card container is clicked', () => {
spyOn(component.addCardClick, 'emit');
- const addCardButton = getElementRef(fixture, '[data-testid="add-card-button"]');
- addCardButton.nativeElement.click();
+ const addCardContainer = getElementRef(fixture, '[data-testid="add-card-container"]');
+ addCardContainer.nativeElement.click();
expect(component.addCardClick.emit).toHaveBeenCalled();
});
diff --git a/src/app/shared/components/spent-cards/spent-cards.component.html b/src/app/shared/components/spent-cards/spent-cards.component.html
index 47a2ecc75c..3c3012ac14 100644
--- a/src/app/shared/components/spent-cards/spent-cards.component.html
+++ b/src/app/shared/components/spent-cards/spent-cards.component.html
@@ -6,6 +6,7 @@
[slidesPerView]="1.1"
[spaceBetween]="16"
[pagination]="pagination"
+ [centeredSlides]="cardDetails.length === 1 && !showAddCardSlide"
>