@patternfly/patternfly 4.207.0 → 4.208.0

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.
@@ -270,6 +270,10 @@
270
270
  grid-template-areas: "header header" "nav main";
271
271
  }
272
272
  }
273
+ .pf-c-page.pf-m-full-height {
274
+ height: 100vh;
275
+ height: 100dvh;
276
+ }
273
277
 
274
278
  .pf-c-page__header,
275
279
  .pf-c-page > .pf-c-masthead {
@@ -207,6 +207,12 @@ $pf-c-page--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg"
207
207
  "header header"
208
208
  "nav main";
209
209
  }
210
+
211
+ // full height
212
+ &.pf-m-full-height {
213
+ height: 100vh;
214
+ height: 100dvh;
215
+ }
210
216
  }
211
217
 
212
218
  // Header
@@ -188,6 +188,7 @@ This component provides the basic chrome for a page, including sidebar, header,
188
188
  | Class | Applied to | Outcome |
189
189
  | -------------------------------------------------------- | ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
190
190
  | `.pf-c-page` | `<div>` | Declares the page component. |
191
+ | `.pf-m-full-height` | `.pf-c-page` | Sets the page to be full height. Eliminates the need to ensure that all ancestors of `.pf-c-page` have height of 100% set. |
191
192
  | `.pf-c-page__header` | `<header>` | Declares the page header. |
192
193
  | `.pf-c-page__header-brand` | `<div>` | Creates a header container to nest the brand component. |
193
194
  | `.pf-c-page__header-brand-toggle` | `<div>` | Creates a container to nest the sidebar toggle. |