diff --git a/cypress/e2e/release-gate/favorite-services.cy.tsx b/cypress/e2e/release-gate/favorite-services.cy.tsx index 62559c286..c409bbb52 100644 --- a/cypress/e2e/release-gate/favorite-services.cy.tsx +++ b/cypress/e2e/release-gate/favorite-services.cy.tsx @@ -132,6 +132,6 @@ describe('Favorite-services', () => { } }); cy.wait(2000); - cy.get('.chr-c-favorite-service__tile').find('.pf-v5-u-mb-sm').should('contain', serviceName); + cy.get('.chr-c-favorite-service__tile').find('.pf-v5-u-pb-0').should('contain', serviceName); }); }); diff --git a/src/components/FavoriteServices/LandingNavFavorites.tsx b/src/components/FavoriteServices/LandingNavFavorites.tsx index 9fbd7dff7..0ae113256 100644 --- a/src/components/FavoriteServices/LandingNavFavorites.tsx +++ b/src/components/FavoriteServices/LandingNavFavorites.tsx @@ -1,4 +1,4 @@ -import { Card, CardBody } from '@patternfly/react-core/dist/dynamic/components/Card'; +import { Card, CardBody, CardHeader, CardTitle } from '@patternfly/react-core/dist/dynamic/components/Card'; import { Flex, FlexItem } from '@patternfly/react-core/dist/dynamic/layouts/Flex'; import { Gallery, GalleryItem } from '@patternfly/react-core/dist/dynamic/layouts/Gallery'; import { Icon } from '@patternfly/react-core/dist/dynamic/components/Icon'; @@ -32,17 +32,11 @@ const LandingNavFavorites = () => { return favoritedServices.slice((page - 1) * perPage, page * perPage).map((favorite, index) => ( - - - - - {favorite.name} - - - {getBundle(favorite.pathname)} - - - + + + {favorite.name} + + {getBundle(favorite.pathname)} @@ -84,7 +78,9 @@ const LandingNavFavorites = () => { ) : ( - {buildFavorites()} + + {buildFavorites()} + )}