diff --git a/src/app/components/Slider/Slider.tsx b/src/app/components/Slider/Slider.tsx index b34f2101ff..2acf4e9a15 100644 --- a/src/app/components/Slider/Slider.tsx +++ b/src/app/components/Slider/Slider.tsx @@ -15,7 +15,7 @@ type SliderProps = { const defaultOptions = { // Custom component options - slideHeight: 184, // default slideheight (used for wallet cards), + slideHeight: 185, // default slideheight (used for wallet cards), // Swiper options slidesPerView: 1, slidesPerColumn: 1, diff --git a/src/app/components/Slider/__snapshots__/Slider.test.tsx.snap b/src/app/components/Slider/__snapshots__/Slider.test.tsx.snap index 7cc98660ea..5d9fb07d4a 100644 --- a/src/app/components/Slider/__snapshots__/Slider.test.tsx.snap +++ b/src/app/components/Slider/__snapshots__/Slider.test.tsx.snap @@ -7,7 +7,7 @@ exports[`Slider should render 1`] = ` >
Slider item @@ -34,7 +34,7 @@ exports[`Slider should render empty rows if template not provided 1`] = ` >
@@ -59,7 +59,7 @@ exports[`Slider should render pagination 1`] = ` >
diff --git a/src/domains/dashboard/components/Wallets/Wallets.test.tsx b/src/domains/dashboard/components/Wallets/Wallets.test.tsx index 8fa8a1ea13..bb538a35db 100644 --- a/src/domains/dashboard/components/Wallets/Wallets.test.tsx +++ b/src/domains/dashboard/components/Wallets/Wallets.test.tsx @@ -59,7 +59,7 @@ describe("Wallets", () => { expect(asFragment()).toMatchSnapshot(); }); - it("should render one grid row when less than four wallets", () => { + it("should render one grid row when less than three wallets", () => { const { asFragment, getAllByTestId } = renderWithRouter( @@ -70,11 +70,11 @@ describe("Wallets", () => { }, ); - expect(getAllByTestId("WalletCard__blank")).toHaveLength(3); + expect(getAllByTestId("WalletCard__blank")).toHaveLength(2); expect(asFragment()).toMatchSnapshot(); }); - it("should render two grid rows when more than four wallets", () => { + it("should render two grid rows when more than three wallets", () => { const { asFragment, getAllByTestId } = renderWithRouter( @@ -85,7 +85,7 @@ describe("Wallets", () => { }, ); - expect(getAllByTestId("WalletCard__blank")).toHaveLength(3); + expect(getAllByTestId("WalletCard__blank")).toHaveLength(1); expect(asFragment()).toMatchSnapshot(); }); diff --git a/src/domains/dashboard/components/Wallets/Wallets.tsx b/src/domains/dashboard/components/Wallets/Wallets.tsx index c4a1582789..34bdcca1ef 100644 --- a/src/domains/dashboard/components/Wallets/Wallets.tsx +++ b/src/domains/dashboard/components/Wallets/Wallets.tsx @@ -74,9 +74,9 @@ export const Wallets = ({ const walletSliderOptions = { slideHeight: 185, - slidesPerView: 4, + slidesPerView: 3, slidesPerColumn: 2, - slidesPerGroup: 4, + slidesPerGroup: 3, spaceBetween: 20, }; diff --git a/src/domains/dashboard/components/Wallets/__snapshots__/Wallets.test.tsx.snap b/src/domains/dashboard/components/Wallets/__snapshots__/Wallets.test.tsx.snap index ebad39c5e1..afe312687d 100644 --- a/src/domains/dashboard/components/Wallets/__snapshots__/Wallets.test.tsx.snap +++ b/src/domains/dashboard/components/Wallets/__snapshots__/Wallets.test.tsx.snap @@ -376,48 +376,6 @@ exports[`Wallets should change wallet view type from list to grid 1`] = `
-
-
-
-
-
-
-
-
-
- New Wallet -
-
- Balance -
-
-
-
-
-
@@ -2082,48 +2040,6 @@ exports[`Wallets should render grid 1`] = `
-
-
-
-
-
-
-
-
-
- New Wallet -
-
- Balance -
-
-
-
-
-
@@ -2642,7 +2558,7 @@ exports[`Wallets should render list 1`] = ` `; -exports[`Wallets should render one grid row when less than four wallets 1`] = ` +exports[`Wallets should render one grid row when less than three wallets 1`] = `
-
-
-
-
-
-
-
-
-
- New Wallet -
-
- Balance -
-
-
-
-
-
@@ -3029,7 +2903,7 @@ exports[`Wallets should render one grid row when less than four wallets 1`] = `
`; -exports[`Wallets should render two grid rows when more than four wallets 1`] = ` +exports[`Wallets should render two grid rows when more than three wallets 1`] = `
-
-
-
-
-
-
-
-
-
- New Wallet -
-
- Balance -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- New Wallet -
-
- Balance -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- New Wallet -
-
- Balance -
-
-
-
-
-
diff --git a/src/domains/dashboard/pages/Dashboard/__snapshots__/Dashboard.test.tsx.snap b/src/domains/dashboard/pages/Dashboard/__snapshots__/Dashboard.test.tsx.snap index dd8939fb57..2f63003369 100644 --- a/src/domains/dashboard/pages/Dashboard/__snapshots__/Dashboard.test.tsx.snap +++ b/src/domains/dashboard/pages/Dashboard/__snapshots__/Dashboard.test.tsx.snap @@ -775,48 +775,6 @@ exports[`Dashboard should fetch more transactions 1`] = `
-
-
-
-
-
-
-
-
-
- New Wallet -
-
- Balance -
-
-
-
-
-
@@ -2950,48 +2908,6 @@ exports[`Dashboard should hide portfolio view 1`] = `
-
-
-
-
-
-
-
-
-
- New Wallet -
-
- Balance -
-
-
-
-
-
@@ -4712,48 +4628,6 @@ exports[`Dashboard should hide transaction view 1`] = `
-
-
-
-
-
-
-
-
-
- New Wallet -
-
- Balance -
-
-
-
-
-
@@ -5546,48 +5420,6 @@ exports[`Dashboard should open detail modal on transaction row click 1`] = `
-
-
-
-
-
-
-
-
-
- New Wallet -
-
- Balance -
-
-
-
-
-
@@ -7124,48 +6956,6 @@ exports[`Dashboard should render 1`] = `
-
-
-
-
-
-
-
-
-
- New Wallet -
-
- Balance -
-
-
-
-
-
@@ -8702,48 +8492,6 @@ exports[`Dashboard should render portfolio chart 1`] = `
-
-
-
-
-
-
-
-
-
- New Wallet -
-
- Balance -
-
-
-
-
-
@@ -10280,48 +10028,6 @@ exports[`Dashboard should render portfolio percentage bar 1`] = ` -
-
-
-
-
-
-
-
-
- New Wallet -
-
- Balance -
-
-
-
-
-
@@ -11858,48 +11564,6 @@ exports[`Dashboard should render wallets 1`] = ` -
-
-
-
-
-
-
-
-
- New Wallet -
-
- Balance -
-
-
-
-
-
@@ -13322,48 +12986,6 @@ exports[`Dashboard should render with no wallets 1`] = ` -
-
-
-
-
-
-
-
-
- New Wallet -
-
- Balance -
-
-
-
-
-
diff --git a/src/domains/plugin/components/PluginInfo/__snapshots__/PluginInfo.test.tsx.snap b/src/domains/plugin/components/PluginInfo/__snapshots__/PluginInfo.test.tsx.snap index 03ee33bef7..4098b12001 100644 --- a/src/domains/plugin/components/PluginInfo/__snapshots__/PluginInfo.test.tsx.snap +++ b/src/domains/plugin/components/PluginInfo/__snapshots__/PluginInfo.test.tsx.snap @@ -50,7 +50,7 @@ exports[`PluginInfo should render properly 1`] = ` >
welcome-banner.svg