Skip to content
Permalink
Browse files

fix(button-icon): add selected styling to border inverse variant (#3115)

  • Loading branch information...
engai committed Mar 8, 2018
1 parent f977204 commit 2624d4f1b9ee458c5b84616c290224e440efadb2
Showing with 4 additions and 2 deletions.
  1. +2 −1 ui/components/button-icons/index.jsx
  2. +2 −1 ui/components/button-icons/stateful/_index.scss
@@ -40,8 +40,9 @@ class ButtonIcon extends Component {
} else if (theme === 'inverse') {
variant = 'slds-button_icon-inverse';

if (size) {
if (size === 'medium') {
variant = 'slds-button_icon-border-inverse';
size = null;
}
/**
* Brand
@@ -25,7 +25,8 @@
.slds-button--icon-container.slds-is-selected,
.slds-button_icon-border.slds-is-selected,
.slds-button--icon-border.slds-is-selected,
.slds-button_icon-border-filled.slds-is-selected {
.slds-button_icon-border-filled.slds-is-selected,
.slds-button_icon-border-inverse.slds-is-selected {
@include button-brand;

.slds-button__icon {

0 comments on commit 2624d4f

Please sign in to comment.
You can’t perform that action at this time.