Skip to content

Commit 3944aaf

Browse files
ENGCOM-7510: Fix issue button used action-primary class changed color if click outside #28083
- Merge Pull Request #28083 from mrtuvn/magento2:fix-issue-27095-button-primary-color - Merged commits: 1. d7cf188 2. 77a4e8c 3. 6b8fc4c 4. facbe37 5. 1ef8a51 6. 6e81906 7. 03a2908 8. 8c0eff0 9. 0e84ed4 10. 63550be 11. e3975c6 12. b285342 13. 1b8199a 14. b8e26ce 15. cc3f6a0 16. 628f7d5
2 parents 2d09485 + 628f7d5 commit 3944aaf

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)