Skip to content

Commit

Permalink
Merge pull request #30417 from s-alves10/fix/issue-30400
Browse files Browse the repository at this point in the history
fix: update style if icon is in button
  • Loading branch information
chiragsalian committed Oct 26, 2023
2 parents 92677e3 + 998f8c6 commit 020ba40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Button/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ class Button extends Component {
this.props.isDisabled && !this.props.danger && !this.props.success ? styles.buttonDisabled : undefined,
this.props.shouldRemoveRightBorderRadius ? styles.noRightBorderRadius : undefined,
this.props.shouldRemoveLeftBorderRadius ? styles.noLeftBorderRadius : undefined,
this.props.icon || this.props.shouldShowRightIcon ? styles.alignItemsStretch : undefined,
...this.props.innerStyles,
]}
hoverStyle={[
Expand Down

0 comments on commit 020ba40

Please sign in to comment.