Skip to content

Commit

Permalink
chore(chip-group): require main and remove legacy example (patternfly…
Browse files Browse the repository at this point in the history
  • Loading branch information
srambach authored and mattnolting committed Mar 2, 2023
1 parent d82e86c commit bbeac10
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/patternfly/components/ChipGroup/chip-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
--pf-c-chip-group--PaddingBottom: 0;
--pf-c-chip-group--PaddingLeft: 0;
--pf-c-chip-group--RowGap: var(--pf-global--spacer--sm);
--pf-c-chip-group--ColumnGap: var(--pf-global--spacer--sm);
--pf-c-chip-group--ColumnGap: 0;

// Chip group main - spaces the category label and list
--pf-c-chip-group__main--RowGap: var(--pf-global--spacer--xs);
Expand All @@ -31,10 +31,8 @@
--pf-c-chip-group__label--MaxWidth: 18ch;

// Chip group close - negative margin stretches height for click area
// margin-left supports legacy chip group
--pf-c-chip-group__close--MarginTop: calc(var(--pf-global--spacer--xs) * -1);
--pf-c-chip-group__close--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
--pf-c-chip-group__close--MarginLeft: calc(var(--pf-global--spacer--sm) * -1);

row-gap: var(--pf-c-chip-group--RowGap);
column-gap: var(--pf-c-chip-group--ColumnGap);
Expand Down Expand Up @@ -95,5 +93,4 @@
align-self: flex-start;
margin-top: var(--pf-c-chip-group__close--MarginTop);
margin-bottom: var(--pf-c-chip-group__close--MarginBottom);
margin-left: var(--pf-c-chip-group__close--MarginLeft);
}

0 comments on commit bbeac10

Please sign in to comment.