Skip to content

Commit

Permalink
ENGCOM-1952: Fix issue #15832 #16012
Browse files Browse the repository at this point in the history
 - Merge Pull Request #16012 from Karlasa/magento2:fix-15832
 - Merged commits:
   1. ab643ce
   2. dd007e3
  • Loading branch information
magento-engcom-team committed Jun 12, 2018
2 parents 38d7977 + dd007e3 commit f3452c3
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 @@ -276,6 +276,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 @@ -299,6 +302,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 f3452c3

Please sign in to comment.