@patternfly/patternfly 6.1.0-prerelease.5 → 6.1.0-prerelease.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Page/page.css +4 -1
- package/components/Page/page.scss +3 -2
- package/components/Table/table.css +6 -4
- package/components/Table/table.scss +7 -5
- package/components/_index.css +10 -5
- package/docs/components/Page/examples/Page.css +1 -1
- package/docs/components/Page/examples/Page.md +10 -7
- package/docs/components/Table/examples/Table.md +4 -246
- package/package.json +2 -2
- package/patternfly-no-globals.css +10 -5
- package/patternfly.css +10 -5
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
package/components/Page/page.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
--pf-v6-c-page--c-masthead--ZIndex: var(--pf-t--global--z-index--md);
|
|
5
5
|
--pf-v6-c-page__sidebar--ZIndex: var(--pf-t--global--z-index--sm);
|
|
6
6
|
--pf-v6-c-page__sidebar--Width: 18.125rem;
|
|
7
|
-
--pf-v6-c-page__sidebar--xl--Width:
|
|
7
|
+
--pf-v6-c-page__sidebar--xl--Width: 18.125rem;
|
|
8
8
|
--pf-v6-c-page__sidebar--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
9
9
|
--pf-v6-c-page__sidebar--BoxShadow: none;
|
|
10
10
|
--pf-v6-c-page__sidebar--TransitionDuration: var(--pf-t--global--motion--duration--slide-in--default);
|
|
@@ -193,18 +193,21 @@
|
|
|
193
193
|
flex-grow: 0;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
+
.pf-v6-c-page__main-subnav.pf-m-limit-width > .pf-v6-c-page__main-body,
|
|
196
197
|
.pf-v6-c-page__main-breadcrumb.pf-m-limit-width > .pf-v6-c-page__main-body,
|
|
197
198
|
.pf-v6-c-page__main-tabs.pf-m-limit-width > .pf-v6-c-page__main-body,
|
|
198
199
|
.pf-v6-c-page__main-section.pf-m-limit-width > .pf-v6-c-page__main-body,
|
|
199
200
|
.pf-v6-c-page__main-wizard.pf-m-limit-width > .pf-v6-c-page__main-body {
|
|
200
201
|
max-width: var(--pf-v6-c-page--section--m-limit-width--MaxWidth);
|
|
201
202
|
}
|
|
203
|
+
.pf-v6-c-page__main-subnav.pf-m-limit-width.pf-m-align-center,
|
|
202
204
|
.pf-v6-c-page__main-breadcrumb.pf-m-limit-width.pf-m-align-center,
|
|
203
205
|
.pf-v6-c-page__main-tabs.pf-m-limit-width.pf-m-align-center,
|
|
204
206
|
.pf-v6-c-page__main-section.pf-m-limit-width.pf-m-align-center,
|
|
205
207
|
.pf-v6-c-page__main-wizard.pf-m-limit-width.pf-m-align-center {
|
|
206
208
|
align-items: center;
|
|
207
209
|
}
|
|
210
|
+
.pf-v6-c-page__main-subnav.pf-m-limit-width.pf-m-align-center > .pf-v6-c-page__main-body,
|
|
208
211
|
.pf-v6-c-page__main-breadcrumb.pf-m-limit-width.pf-m-align-center > .pf-v6-c-page__main-body,
|
|
209
212
|
.pf-v6-c-page__main-tabs.pf-m-limit-width.pf-m-align-center > .pf-v6-c-page__main-body,
|
|
210
213
|
.pf-v6-c-page__main-section.pf-m-limit-width.pf-m-align-center > .pf-v6-c-page__main-body,
|
|
@@ -15,7 +15,7 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
15
15
|
// Sidebar
|
|
16
16
|
--#{$page}__sidebar--ZIndex: var(--pf-t--global--z-index--sm);
|
|
17
17
|
--#{$page}__sidebar--Width: #{pf-size-prem(290px)};
|
|
18
|
-
--#{$page}__sidebar--xl--Width:
|
|
18
|
+
--#{$page}__sidebar--xl--Width: #{pf-size-prem(290px)}; // TODO Can remove at breaking change
|
|
19
19
|
--#{$page}__sidebar--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
20
20
|
--#{$page}__sidebar--BoxShadow: none;
|
|
21
21
|
|
|
@@ -136,7 +136,7 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
136
136
|
background-color: var(--#{$page}--BackgroundColor);
|
|
137
137
|
|
|
138
138
|
@media (min-width: $pf-v6-global--breakpoint--xl) {
|
|
139
|
-
--#{$page}__sidebar--Width: var(--#{$page}__sidebar--xl--Width);
|
|
139
|
+
--#{$page}__sidebar--Width: var(--#{$page}__sidebar--xl--Width); // TODO can remove at breaking change
|
|
140
140
|
|
|
141
141
|
grid-template-areas:
|
|
142
142
|
"header header"
|
|
@@ -247,6 +247,7 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
+
.#{$page}__main-subnav,
|
|
250
251
|
.#{$page}__main-breadcrumb,
|
|
251
252
|
.#{$page}__main-tabs,
|
|
252
253
|
.#{$page}__main-section,
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
--pf-v6-c-table--cell--Color: var(--pf-t--global--text--color--regular);
|
|
28
28
|
--pf-v6-c-table--cell--first-last-child--PaddingInline: var(--pf-t--global--spacer--inset--page-chrome);
|
|
29
29
|
--pf-v6-c-table__tr--m-first-cell-offset-reset--cell--PaddingInlineStart: var(--pf-v6-c-table--cell--Padding--base);
|
|
30
|
-
--pf-v6-c-table--cell--MinWidth:
|
|
30
|
+
--pf-v6-c-table--cell--MinWidth: calc(var(--pf-v6-c-table--cell--PaddingInlineEnd) + var(--pf-v6-c-table--cell--PaddingInlineEnd));
|
|
31
31
|
--pf-v6-c-table--cell--MaxWidth: none;
|
|
32
32
|
--pf-v6-c-table--cell--Width: auto;
|
|
33
33
|
--pf-v6-c-table--cell--Overflow: visible;
|
|
@@ -41,6 +41,8 @@
|
|
|
41
41
|
--pf-v6-c-table--cell--m-help--MinWidth: 11ch;
|
|
42
42
|
--pf-v6-c-table--m-truncate--cell--MaxWidth: 1px;
|
|
43
43
|
--pf-v6-c-table--m-truncate--cell--MinWidth: calc(5ch + var(--pf-v6-c-table--cell--PaddingInlineEnd) + var(--pf-v6-c-table--cell--PaddingInlineStart));
|
|
44
|
+
--pf-v6-c-table__text--MinWidth: 100%;
|
|
45
|
+
--pf-v6-c-table__text--m-truncate--MinWidth: 5ch;
|
|
44
46
|
--pf-v6-c-table--m-truncate__text--MinWidth: 5ch;
|
|
45
47
|
--pf-v6-c-table--cell--hidden-visible--Display: table-cell;
|
|
46
48
|
--pf-v6-c-table__toggle--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
@@ -429,11 +431,10 @@
|
|
|
429
431
|
}
|
|
430
432
|
|
|
431
433
|
.pf-v6-c-table__text {
|
|
432
|
-
--pf-v6-c-table--cell--MaxWidth: 100%;
|
|
433
434
|
position: relative;
|
|
434
435
|
display: block;
|
|
435
436
|
width: var(--pf-v6-c-table--cell--Width);
|
|
436
|
-
min-width: var(--pf-v6-c-
|
|
437
|
+
min-width: var(--pf-v6-c-table__text--MinWidth);
|
|
437
438
|
max-width: var(--pf-v6-c-table--cell--MaxWidth);
|
|
438
439
|
overflow: var(--pf-v6-c-table--cell--Overflow);
|
|
439
440
|
line-height: var(--pf-v6-c-table--cell--LineHeight);
|
|
@@ -443,7 +444,7 @@
|
|
|
443
444
|
}
|
|
444
445
|
.pf-v6-c-table__text.pf-m-truncate {
|
|
445
446
|
--pf-v6-c-table--cell--MinWidth: 100%;
|
|
446
|
-
--pf-v6-c-
|
|
447
|
+
min-width: max(var(--pf-v6-c-table__text--m-truncate--MinWidth), var(--pf-v6-c-table__text--MinWidth));
|
|
447
448
|
}
|
|
448
449
|
.pf-v6-c-table__text.pf-m-truncate > :where(th, td) {
|
|
449
450
|
overflow: var(--pf-v6-c-table--cell--Overflow);
|
|
@@ -496,6 +497,7 @@
|
|
|
496
497
|
.pf-v6-c-table__button-content .pf-v6-c-table__text,
|
|
497
498
|
.pf-v6-c-table__column-help .pf-v6-c-table__text {
|
|
498
499
|
min-width: auto;
|
|
500
|
+
max-width: 100%;
|
|
499
501
|
}
|
|
500
502
|
.pf-v6-c-table thead:where(.pf-v6-c-table__thead).pf-m-nowrap .pf-v6-c-table__button-content, .pf-v6-c-table tr:where(.pf-v6-c-table__tr).pf-m-nowrap .pf-v6-c-table__button-content, .pf-v6-c-table th:where(.pf-v6-c-table__th).pf-m-nowrap .pf-v6-c-table__button-content,
|
|
501
503
|
.pf-v6-c-table thead:where(.pf-v6-c-table__thead).pf-m-nowrap .pf-v6-c-table__column-help,
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
--#{$table}__tr--m-first-cell-offset-reset--cell--PaddingInlineStart: var(--#{$table}--cell--Padding--base);
|
|
49
49
|
|
|
50
50
|
// * Table cell - default variables
|
|
51
|
-
--#{$table}--cell--MinWidth:
|
|
51
|
+
--#{$table}--cell--MinWidth: calc(var(--#{$table}--cell--PaddingInlineEnd) + var(--#{$table}--cell--PaddingInlineEnd));
|
|
52
52
|
--#{$table}--cell--MaxWidth: none;
|
|
53
53
|
--#{$table}--cell--Width: auto;
|
|
54
54
|
--#{$table}--cell--Overflow: visible;
|
|
@@ -70,6 +70,8 @@
|
|
|
70
70
|
--#{$table}--m-truncate--cell--MinWidth: calc(5ch + var(--#{$table}--cell--PaddingInlineEnd) + var(--#{$table}--cell--PaddingInlineStart));
|
|
71
71
|
|
|
72
72
|
// * Table truncate
|
|
73
|
+
--#{$table}__text--MinWidth: 100%;
|
|
74
|
+
--#{$table}__text--m-truncate--MinWidth: 5ch;
|
|
73
75
|
--#{$table}--m-truncate__text--MinWidth: 5ch;
|
|
74
76
|
|
|
75
77
|
// * Table cell hidden visible
|
|
@@ -602,12 +604,10 @@
|
|
|
602
604
|
|
|
603
605
|
// - Table text
|
|
604
606
|
.#{$table}__text {
|
|
605
|
-
--#{$table}--cell--MaxWidth: 100%;
|
|
606
|
-
|
|
607
607
|
position: relative;
|
|
608
608
|
display: block;
|
|
609
609
|
width: var(--#{$table}--cell--Width);
|
|
610
|
-
min-width: var(--#{$table}--
|
|
610
|
+
min-width: var(--#{$table}__text--MinWidth);
|
|
611
611
|
max-width: var(--#{$table}--cell--MaxWidth);
|
|
612
612
|
overflow: var(--#{$table}--cell--Overflow);
|
|
613
613
|
line-height: var(--#{$table}--cell--LineHeight);
|
|
@@ -618,7 +618,8 @@
|
|
|
618
618
|
// Only apply these settings if specifically modified
|
|
619
619
|
&.pf-m-truncate {
|
|
620
620
|
--#{$table}--cell--MinWidth: 100%;
|
|
621
|
-
|
|
621
|
+
|
|
622
|
+
min-width: max(var(--#{$table}__text--m-truncate--MinWidth), var(--#{$table}__text--MinWidth));
|
|
622
623
|
|
|
623
624
|
> :where(th, td) {
|
|
624
625
|
overflow: var(--#{$table}--cell--Overflow);
|
|
@@ -682,6 +683,7 @@
|
|
|
682
683
|
|
|
683
684
|
.#{$table}__text {
|
|
684
685
|
min-width: auto;
|
|
686
|
+
max-width: 100%;
|
|
685
687
|
}
|
|
686
688
|
|
|
687
689
|
.#{$table} thead:where(.#{$table}__thead).pf-m-nowrap &,
|
package/components/_index.css
CHANGED
|
@@ -11395,7 +11395,7 @@ ul.pf-v6-c-list {
|
|
|
11395
11395
|
--pf-v6-c-page--c-masthead--ZIndex: var(--pf-t--global--z-index--md);
|
|
11396
11396
|
--pf-v6-c-page__sidebar--ZIndex: var(--pf-t--global--z-index--sm);
|
|
11397
11397
|
--pf-v6-c-page__sidebar--Width: 18.125rem;
|
|
11398
|
-
--pf-v6-c-page__sidebar--xl--Width:
|
|
11398
|
+
--pf-v6-c-page__sidebar--xl--Width: 18.125rem;
|
|
11399
11399
|
--pf-v6-c-page__sidebar--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
11400
11400
|
--pf-v6-c-page__sidebar--BoxShadow: none;
|
|
11401
11401
|
--pf-v6-c-page__sidebar--TransitionDuration: var(--pf-t--global--motion--duration--slide-in--default);
|
|
@@ -11584,18 +11584,21 @@ ul.pf-v6-c-list {
|
|
|
11584
11584
|
flex-grow: 0;
|
|
11585
11585
|
}
|
|
11586
11586
|
|
|
11587
|
+
.pf-v6-c-page__main-subnav.pf-m-limit-width > .pf-v6-c-page__main-body,
|
|
11587
11588
|
.pf-v6-c-page__main-breadcrumb.pf-m-limit-width > .pf-v6-c-page__main-body,
|
|
11588
11589
|
.pf-v6-c-page__main-tabs.pf-m-limit-width > .pf-v6-c-page__main-body,
|
|
11589
11590
|
.pf-v6-c-page__main-section.pf-m-limit-width > .pf-v6-c-page__main-body,
|
|
11590
11591
|
.pf-v6-c-page__main-wizard.pf-m-limit-width > .pf-v6-c-page__main-body {
|
|
11591
11592
|
max-width: var(--pf-v6-c-page--section--m-limit-width--MaxWidth);
|
|
11592
11593
|
}
|
|
11594
|
+
.pf-v6-c-page__main-subnav.pf-m-limit-width.pf-m-align-center,
|
|
11593
11595
|
.pf-v6-c-page__main-breadcrumb.pf-m-limit-width.pf-m-align-center,
|
|
11594
11596
|
.pf-v6-c-page__main-tabs.pf-m-limit-width.pf-m-align-center,
|
|
11595
11597
|
.pf-v6-c-page__main-section.pf-m-limit-width.pf-m-align-center,
|
|
11596
11598
|
.pf-v6-c-page__main-wizard.pf-m-limit-width.pf-m-align-center {
|
|
11597
11599
|
align-items: center;
|
|
11598
11600
|
}
|
|
11601
|
+
.pf-v6-c-page__main-subnav.pf-m-limit-width.pf-m-align-center > .pf-v6-c-page__main-body,
|
|
11599
11602
|
.pf-v6-c-page__main-breadcrumb.pf-m-limit-width.pf-m-align-center > .pf-v6-c-page__main-body,
|
|
11600
11603
|
.pf-v6-c-page__main-tabs.pf-m-limit-width.pf-m-align-center > .pf-v6-c-page__main-body,
|
|
11601
11604
|
.pf-v6-c-page__main-section.pf-m-limit-width.pf-m-align-center > .pf-v6-c-page__main-body,
|
|
@@ -16208,7 +16211,7 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
16208
16211
|
--pf-v6-c-table--cell--Color: var(--pf-t--global--text--color--regular);
|
|
16209
16212
|
--pf-v6-c-table--cell--first-last-child--PaddingInline: var(--pf-t--global--spacer--inset--page-chrome);
|
|
16210
16213
|
--pf-v6-c-table__tr--m-first-cell-offset-reset--cell--PaddingInlineStart: var(--pf-v6-c-table--cell--Padding--base);
|
|
16211
|
-
--pf-v6-c-table--cell--MinWidth:
|
|
16214
|
+
--pf-v6-c-table--cell--MinWidth: calc(var(--pf-v6-c-table--cell--PaddingInlineEnd) + var(--pf-v6-c-table--cell--PaddingInlineEnd));
|
|
16212
16215
|
--pf-v6-c-table--cell--MaxWidth: none;
|
|
16213
16216
|
--pf-v6-c-table--cell--Width: auto;
|
|
16214
16217
|
--pf-v6-c-table--cell--Overflow: visible;
|
|
@@ -16222,6 +16225,8 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
16222
16225
|
--pf-v6-c-table--cell--m-help--MinWidth: 11ch;
|
|
16223
16226
|
--pf-v6-c-table--m-truncate--cell--MaxWidth: 1px;
|
|
16224
16227
|
--pf-v6-c-table--m-truncate--cell--MinWidth: calc(5ch + var(--pf-v6-c-table--cell--PaddingInlineEnd) + var(--pf-v6-c-table--cell--PaddingInlineStart));
|
|
16228
|
+
--pf-v6-c-table__text--MinWidth: 100%;
|
|
16229
|
+
--pf-v6-c-table__text--m-truncate--MinWidth: 5ch;
|
|
16225
16230
|
--pf-v6-c-table--m-truncate__text--MinWidth: 5ch;
|
|
16226
16231
|
--pf-v6-c-table--cell--hidden-visible--Display: table-cell;
|
|
16227
16232
|
--pf-v6-c-table__toggle--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
@@ -16610,11 +16615,10 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
16610
16615
|
}
|
|
16611
16616
|
|
|
16612
16617
|
.pf-v6-c-table__text {
|
|
16613
|
-
--pf-v6-c-table--cell--MaxWidth: 100%;
|
|
16614
16618
|
position: relative;
|
|
16615
16619
|
display: block;
|
|
16616
16620
|
width: var(--pf-v6-c-table--cell--Width);
|
|
16617
|
-
min-width: var(--pf-v6-c-
|
|
16621
|
+
min-width: var(--pf-v6-c-table__text--MinWidth);
|
|
16618
16622
|
max-width: var(--pf-v6-c-table--cell--MaxWidth);
|
|
16619
16623
|
overflow: var(--pf-v6-c-table--cell--Overflow);
|
|
16620
16624
|
line-height: var(--pf-v6-c-table--cell--LineHeight);
|
|
@@ -16624,7 +16628,7 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
16624
16628
|
}
|
|
16625
16629
|
.pf-v6-c-table__text.pf-m-truncate {
|
|
16626
16630
|
--pf-v6-c-table--cell--MinWidth: 100%;
|
|
16627
|
-
--pf-v6-c-
|
|
16631
|
+
min-width: max(var(--pf-v6-c-table__text--m-truncate--MinWidth), var(--pf-v6-c-table__text--MinWidth));
|
|
16628
16632
|
}
|
|
16629
16633
|
.pf-v6-c-table__text.pf-m-truncate > :where(th, td) {
|
|
16630
16634
|
overflow: var(--pf-v6-c-table--cell--Overflow);
|
|
@@ -16677,6 +16681,7 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
16677
16681
|
.pf-v6-c-table__button-content .pf-v6-c-table__text,
|
|
16678
16682
|
.pf-v6-c-table__column-help .pf-v6-c-table__text {
|
|
16679
16683
|
min-width: auto;
|
|
16684
|
+
max-width: 100%;
|
|
16680
16685
|
}
|
|
16681
16686
|
.pf-v6-c-table thead:where(.pf-v6-c-table__thead).pf-m-nowrap .pf-v6-c-table__button-content, .pf-v6-c-table tr:where(.pf-v6-c-table__tr).pf-m-nowrap .pf-v6-c-table__button-content, .pf-v6-c-table th:where(.pf-v6-c-table__th).pf-m-nowrap .pf-v6-c-table__button-content,
|
|
16682
16687
|
.pf-v6-c-table thead:where(.pf-v6-c-table__thead).pf-m-nowrap .pf-v6-c-table__column-help,
|
|
@@ -152,10 +152,11 @@ wrapperTag: div
|
|
|
152
152
|
</header>
|
|
153
153
|
<div class="pf-v6-c-page__sidebar">
|
|
154
154
|
<div class="pf-v6-c-page__sidebar-body">Navigation</div>
|
|
155
|
+
<div class="pf-v6-c-page__sidebar-body pf-m-fill">inset content</div>
|
|
155
156
|
<div
|
|
156
|
-
class="pf-v6-c-page__sidebar-body pf-m-fill pf-m-
|
|
157
|
-
>inset
|
|
158
|
-
<div class="pf-v6-c-page__sidebar-body pf-m-
|
|
157
|
+
class="pf-v6-c-page__sidebar-body pf-m-fill pf-m-inset-none"
|
|
158
|
+
>content that is not inset</div>
|
|
159
|
+
<div class="pf-v6-c-page__sidebar-body pf-m-no-fill">footer content</div>
|
|
159
160
|
</div>
|
|
160
161
|
<div class="pf-v6-c-page__main-container" tabindex="-1">
|
|
161
162
|
<main class="pf-v6-c-page__main" tabindex="-1">
|
|
@@ -193,7 +194,7 @@ wrapperTag: div
|
|
|
193
194
|
<span>Content</span>
|
|
194
195
|
</div>
|
|
195
196
|
</header>
|
|
196
|
-
<div class="pf-v6-c-page__main-container" tabindex="-1">
|
|
197
|
+
<div class="pf-v6-c-page__main-container pf-m-fill" tabindex="-1">
|
|
197
198
|
<main class="pf-v6-c-page__main" tabindex="-1">
|
|
198
199
|
<section class="pf-v6-c-page__main-section">
|
|
199
200
|
<div class="pf-v6-c-page__main-body">A regular page section.</div>
|
|
@@ -201,13 +202,15 @@ wrapperTag: div
|
|
|
201
202
|
<section class="pf-v6-c-page__main-section pf-m-fill">
|
|
202
203
|
<div class="pf-v6-c-page__main-body">
|
|
203
204
|
This section uses
|
|
204
|
-
<code>.pf-m-fill</code> to fill the available space.
|
|
205
|
+
<code>.pf-m-fill</code> to fill the available space. The
|
|
206
|
+
<code>.pf-v6-c-page__main-container</code> must also have
|
|
207
|
+
<code>.pf-m-fill</code> in order for the section to have space to stretch to full height.
|
|
205
208
|
</div>
|
|
206
209
|
</section>
|
|
207
210
|
<section class="pf-v6-c-page__main-section pf-m-no-fill">
|
|
208
211
|
<div class="pf-v6-c-page__main-body">
|
|
209
212
|
This section uses
|
|
210
|
-
<code>.pf-m-no-fill</code> not
|
|
213
|
+
<code>.pf-m-no-fill</code> and will not fill the available space.
|
|
211
214
|
</div>
|
|
212
215
|
</section>
|
|
213
216
|
</main>
|
|
@@ -416,7 +419,7 @@ This component provides the basic chrome for a page, including sidebar and main
|
|
|
416
419
|
| `.pf-m-inset-none` | `.pf-v6-c-page__sidebar-body` | Removes a sidebar body left/right inset. |
|
|
417
420
|
| `.pf-m-padding{-on-[breakpoint]}` | `.pf-v6-c-page__main-section` | Modifies the main page section to add padding back in at an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). Should be used with pf-m-no-padding. |
|
|
418
421
|
| `.pf-m-no-padding{-on-[breakpoint]}` | `.pf-v6-c-page__main-section` | Removes padding from the main page section at an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
419
|
-
| `.pf-m-fill` | `.pf-v6-c-page__main-container`, `.pf-v6-c-page__main-section`, `.pf-v6-c-page__main-group`, `.pf-v6-c-page__main-wizard`, `.pf-v6-c-page__sidebar-body` | Modifies the element to grow to fill the available space.
|
|
422
|
+
| `.pf-m-fill` | `.pf-v6-c-page__main-container`, `.pf-v6-c-page__main-section`, `.pf-v6-c-page__main-group`, `.pf-v6-c-page__main-wizard`, `.pf-v6-c-page__sidebar-body` | Modifies the element to grow to fill the available space. Note that `.pf-v6-c-page__main-container` must also have `.pf-m-fill` applied in order for the section to have space to stretch to full height.|
|
|
420
423
|
| `.pf-m-no-fill` | `.pf-v6-c-page__main-section`, `.pf-v6-c-page__main-group`, `.pf-v6-c-page__main-wizard`, `.pf-v6-c-page__sidebar-body` | Modifies the element not to grow to fill the available vertical space. |
|
|
421
424
|
| `.pf-m-limit-width` | `.pf-v6-c-page__main-section` | Modifies a page section to limit the `max-width` of the content inside. |
|
|
422
425
|
| `.pf-m-align-center` | `.pf-v6-c-page__main-section.pf-m-limit-width` | Modifies a page section body to align center. |
|