Skip to content

Commit

Permalink
fix(dropdown, optionsmenu): center plain button content (#2071)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcoker authored and mattnolting committed Jul 17, 2019
1 parent 19ea326 commit eee530c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/patternfly/components/Dropdown/dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@
}

&.pf-m-plain {
justify-content: center;
color: var(--pf-c-dropdown__toggle--m-plain--Color);

> * {
Expand Down
1 change: 1 addition & 0 deletions src/patternfly/components/OptionsMenu/options-menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@

&.pf-m-plain {
&:not(.pf-m-text) {
justify-content: center;
color: var(--pf-c-options-menu__toggle--m-plain--Color);
}

Expand Down

0 comments on commit eee530c

Please sign in to comment.