Skip to content

Commit

Permalink
feat(toolbar): updated row-gap base
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnolting committed Mar 1, 2023
1 parent 5a2ab13 commit b851b0e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/patternfly/components/Toolbar/toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"

.pf-c-toolbar {
--pf-c-toolbar--BackgroundColor: var(--pf-global--BackgroundColor--100);
--pf-c-toolbar--RowGap--base: var(--pf-global--spacer--xs);
--pf-c-toolbar--RowGap: var(--pf-global--spacer--lg); // row-gap between toolbar content elements
--pf-c-toolbar--PaddingTop: var(--pf-global--spacer--md);
--pf-c-toolbar--PaddingBottom: var(--pf-global--spacer--md);
--pf-c-toolbar--RowGap--base: var(--pf-global--spacer--xs); // shared row-gap for items and groups

// Item
--pf-c-toolbar__item--Display: block;
Expand Down Expand Up @@ -358,12 +359,10 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
}
}

// stylelint-disable max-line-length
// &:last-child must always come last for spacing system to work properly, as it has the same specificity as the preceding modifiers
&:last-child {
--pf-c-toolbar--spacer: 0;
}
// stylelint-enable
}

.pf-c-toolbar__group,
Expand Down

0 comments on commit b851b0e

Please sign in to comment.