Skip to content

Commit 9d7f295

Browse files
authored
ENGCOM-7510: Fix issue button used action-primary class changed color if click outside #28083
2 parents 2d09485 + cdbae48 commit 9d7f295

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

app/design/frontend/Magento/blank/web/css/source/_buttons.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
.lib-link-as-button();
2626
}
2727

28-
.action.primary {
28+
.action.primary,
29+
.action-primary {
2930
.lib-button-primary();
3031
}
3132
}

app/design/frontend/Magento/luma/web/css/source/_buttons.less

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
button {
1919
&:not(.primary) {
20-
.lib-css(box-shadow, @button__shadow);
20+
.lib-css(box-shadow, none);
2121

2222
&:active {
2323
.lib-css(box-shadow, @button__shadow-active);
@@ -39,7 +39,8 @@
3939
.lib-link-as-button();
4040
}
4141

42-
.action.primary {
42+
.action.primary,
43+
.action-primary {
4344
.lib-button-primary();
4445
}
4546
}

0 commit comments

Comments
 (0)