Skip to content

Commit

Permalink
Merge pull request #97 from ovh-ux/fix/button-icon-padding
Browse files Browse the repository at this point in the history
fix(oui-button): icon button padding
  • Loading branch information
rfougier authored Oct 13, 2017
2 parents a9bb70e + 88f66bb commit 2f8be2a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/oui-button/_mixins.less
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,8 @@
.button-icon-base(
@icon-selector,
@icon-size: @oui-button-icon-icon-size,
@icon-color: @oui-button-icon-icon-color,
@padding-right: @oui-button-icon-padding-right,
@padding-left: @oui-button-icon-padding-left
@icon-color: @oui-button-icon-icon-color
) {
padding-right: @padding-right;
padding-left: @padding-left;

.@{icon-selector} {
vertical-align: text-bottom;
Expand All @@ -194,8 +190,10 @@
.button-icon-right(
@icon-selector,
@icon-margin-left: @oui-button-icon-right-icon-margin-left,
@icon-color_disabled: @oui-button-icon-right-icon-color_disabled
@icon-color_disabled: @oui-button-icon-right-icon-color_disabled,
@padding-right: @oui-button-icon-padding-right
) {
padding-right: @padding-right;

.@{icon-selector} {
margin-left: @icon-margin-left;
Expand All @@ -219,8 +217,10 @@
.button-icon-left(
@icon-selector,
@icon-margin-right: @oui-button-icon-right-icon-margin-right,
@icon-color_disabled: @oui-button-icon-left-icon-color_disabled
@icon-color_disabled: @oui-button-icon-left-icon-color_disabled,
@padding-left: @oui-button-icon-padding-left
) {
padding-left: @padding-left;

.@{icon-selector} {
margin-right: @icon-margin-right;
Expand Down

0 comments on commit 2f8be2a

Please sign in to comment.