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
(cherry picked from commit 020ba40)
  • Loading branch information
chiragsalian authored and OSBotify committed Oct 26, 2023
1 parent ac09877 commit 1c49234
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 1c49234

Please sign in to comment.