File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
patternfly-docs/content/examples
sass/react-catalog-view-extension
src/components/CatalogTile Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 22 color : var (--pf-t--global--text--color--regular );
33 text-decoration : none;
44}
5+ .ws-react-e-catalog-tile .pf-v6-c-card__header-main {
6+ display : flex;
7+ }
58.ws-react-e-catalog-tile .catalog-tile-pf-header .catalog-tile-pf-subtitle {
69 color : var (--pf-t--global--text--color--subtle );
710 font-size : var (--pf-t--global--font--size--body--sm );
Original file line number Diff line number Diff line change 1111 text-decoration : none ;
1212 }
1313
14+ .pf-v6-c-card__header-main {
15+ display : flex ;
16+ }
17+
1418 .pf-v6-c-card__actions {
1519 padding-left : 5px ;
1620 }
Original file line number Diff line number Diff line change @@ -119,7 +119,6 @@ export class CatalogTile extends React.Component<CatalogTileProps> {
119119 >
120120 { ( badges . length > 0 || iconImg || iconClass || icon || onClick || href ) && (
121121 < CardHeader
122- actions = { { actions : badges . length > 0 && this . renderBadges ( badges ) , hasNoOffset : true } }
123122 selectableActions = { ( onClick || href ) && {
124123 selectableActionId : id + '-input' ,
125124 onClickAction : ( e ) => this . handleClick ( e ) ,
@@ -129,6 +128,7 @@ export class CatalogTile extends React.Component<CatalogTileProps> {
129128 >
130129 { iconImg && < img className = "catalog-tile-pf-icon" src = { iconImg } alt = { iconAlt } /> }
131130 { ! iconImg && ( iconClass || icon ) && < span className = { `catalog-tile-pf-icon ${ iconClass } ` } > { icon } </ span > }
131+ { badges . length > 0 && this . renderBadges ( badges ) }
132132 </ CardHeader >
133133 ) }
134134 < CardTitle className = "catalog-tile-pf-header" >
You can’t perform that action at this time.
0 commit comments