Skip to content

Commit

Permalink
ENGCOM-1989: [Backport] Fix issue #15832 #16037
Browse files Browse the repository at this point in the history
 - Merge Pull Request #16037 from chirag-wagento/magento2:2.1-develop-PR-port-16012
 - Merged commits:
   1. 324ee50
   2. 41b4775
  • Loading branch information
magento-engcom-team committed Jun 14, 2018
2 parents 1d129d7 + 41b4775 commit eac6088
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/web/css/source/lib/_buttons.less
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,9 @@
// ---------------------------------------------

.lib-button-primary(
@_button-font-family: @button-primary__font-family,
@_button-font-size: @button-primary__font-size,
@_button-font-weight: @button-primary__font-weight,
@_button-line-height: @button-primary__line-height,
@_button-width: @button-primary__width,
@_button-margin: @button-primary__margin,
Expand All @@ -300,6 +303,9 @@
@_button-gradient-direction: @button-primary__gradient-direction
) {
.lib-button(
@_button-font-family: @_button-font-family,
@_button-font-size: @_button-font-size,
@_button-font-weight: @_button-font-weight,
@_button-line-height: @_button-line-height,
@_button-width: @_button-width,
@_button-margin: @_button-margin,
Expand Down
3 changes: 3 additions & 0 deletions lib/web/css/source/lib/variables/_buttons.less
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
@button__active__gradient-color-end: false;

// Primary button
@button-primary__font-family: @button__font-family;
@button-primary__font-size: @button__font-size;
@button-primary__font-weight: @button__font-weight;
@button-primary__line-height: false;
@button-primary__width: false;
@button-primary__margin: false;
Expand Down

0 comments on commit eac6088

Please sign in to comment.