This repository was archived by the owner on Nov 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ export class ListBasicExampleComponent implements OnInit {
137137 tooltip : 'Do something special'
138138 } ]
139139 } as ActionConfig ,
140- icon : 'pficon-warning-triangle-o' ,
140+ iconStyleClass : 'pficon-warning-triangle-o' ,
141141 title : 'No Items Available' ,
142142 info : 'This is the Empty State component. The goal of a empty state pattern is to provide a good first ' +
143143 'impression that helps users to achieve their goals. It should be used when a list is empty because no ' +
Original file line number Diff line number Diff line change 66
77import { Action } from '../../action/action' ;
88import { ActionConfig } from '../../action/action-config' ;
9- import { EmptyStateConfig } from '../../empty-state/empty-state-config' ;
109import { ListConfig } from '../list-config' ;
1110import { ListEvent } from '../list-event' ;
1211
@@ -20,7 +19,6 @@ export class ListHeadingExampleComponent implements OnInit {
2019 actionConfig : ActionConfig ;
2120 actionsText : string = '' ;
2221 allItems : any [ ] ;
23- emptyStateConfig : EmptyStateConfig ;
2422 items : any [ ] ;
2523 listConfig : ListConfig ;
2624 selectType : string = 'checkbox' ;
@@ -174,7 +172,6 @@ export class ListHeadingExampleComponent implements OnInit {
174172
175173 this . listConfig = {
176174 dblClick : false ,
177- emptyStateConfig : this . emptyStateConfig ,
178175 multiSelect : false ,
179176 selectItems : false ,
180177 selectionMatchProp : 'name' ,
Original file line number Diff line number Diff line change 1919// For displaying close button in expansion area
2020.pfng-list-expansion {
2121 position : relative ;
22+ .list-pf-content {
23+ flex-grow : 1 ;
24+ }
2225}
2326
2427// For displaying a heading above the list
4043 pointer-events : auto ;
4144 }
4245
46+ // Override top border for heading
47+ & .list-pf-item {
48+ border-top : none ;
49+ }
50+
4351 // Override font for normal heading text
4452 .list-pf-title {
45- font-size : @font-size-base ;
53+ font-size : inherit ;
4654 font-weight : normal ;
4755 }
4856
You can’t perform that action at this time.
0 commit comments