-
Notifications
You must be signed in to change notification settings - Fork 375
Closed
Labels
Breaking change 💥this change requires a major release and has API changes.this change requires a major release and has API changes.Waiting for core
Milestone
Description
Core issue - patternfly/patternfly#5288
PR - patternfly/patternfly#5516
The details
The parent <Flex> component now supports a "row-gap", "column-gap", and "gap" all with the same suffixes. "gap" as an example - .pf-m-gap{-[none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl]}{-on-[breakpoint]}. In other words:
- default spacer -
.pf-m-gap - custom spacer -
.pf-m-gap-[none, xs - 4xl] - default spacer at breakpoint -
.pf-m-gap-on-[breakpoint] - custom spacer at breakpoint -
.pf-m-gap-[none, xs - 4xl]-on[breakpoint]
Using any of these gap spacers should override any usage of the existing spacer and spaceItems along the main axis (horizontal/column spacers in a flex row or vertical/row spacers in a flex column)
That's it!
Metadata
Metadata
Assignees
Labels
Breaking change 💥this change requires a major release and has API changes.this change requires a major release and has API changes.Waiting for core
Type
Projects
Status
Done
Status
Done