Skip to content

Commit

Permalink
Update featured card to secondary styling
Browse files Browse the repository at this point in the history
  • Loading branch information
jessiehuff committed Apr 8, 2024
1 parent a63fe8c commit 17c18c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
.ws-react-e-catalog-tile .catalog-tile-pf.featured {
border-top: 2px solid var(--pf-t--global--border--color--brand--default);
}
.ws-react-e-catalog-tile .catalog-tile-pf:active, .ws-react-e-catalog-tile .catalog-tile-pf:hover, .ws-react-e-catalog-tile .catalog-tile-pf:focus, .ws-react-e-catalog-tile .catalog-tile-pf:visited {
color: inherit;
text-decoration: none;
Expand Down
1 change: 1 addition & 0 deletions packages/module/src/components/CatalogTile/CatalogTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ export class CatalogTile extends React.Component<CatalogTileProps> {
id={id || this.generatedId}
href={href || '#'}
className={css('catalog-tile-pf', { featured }, className)}
variant={featured ? 'secondary' : 'default'}
isClickable={!!onClick}
{...props}
>
Expand Down

0 comments on commit 17c18c5

Please sign in to comment.