Skip to content

Commit 958e5ae

Browse files
authored
Merge pull request #166 from magento/magento-commerce/magento2-login-as-customer#94
magento-commerce/magento2-login-as-customer#94: "Login as Customer" button must be next to the “Back button” on the left.
2 parents 050d0d6 + f979863 commit 958e5ae

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

app/code/Magento/LoginAsCustomerAdminUi/Ui/Customer/Component/Control/LoginAsCustomerButton.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function getButtonData(): array
6969
'on_click' => 'window.lacConfirmationPopup("'
7070
. $this->escaper->escapeHtml($this->escaper->escapeJs($this->getLoginUrl()))
7171
. '")',
72-
'sort_order' => 70,
72+
'sort_order' => 15,
7373
];
7474
}
7575

app/code/Magento/LoginAsCustomerAdminUi/view/adminhtml/web/css/source/_module.less

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,14 @@
3939
}
4040
}
4141
}
42+
43+
.page-actions {
44+
.page-actions-buttons {
45+
.login-button {
46+
-ms-flex-order: -1;
47+
-webkit-order: -1;
48+
order: -1;
49+
}
50+
}
51+
}
4252
}

0 commit comments

Comments
 (0)