fix: faster transition and improved button style

Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
This commit is contained in:
Raffael Meyer 2023-08-16 11:46:04 +02:00 committed by GitHub
parent 7c38dac8ee
commit cd56c6aaec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -318,7 +318,7 @@ frappe.ui.form.AssignmentDialog = class {
if (assignment === frappe.session.user) {
btn_group.append(`
<button type="button" class="btn btn-default complete-btn" title="${__("Done")}">
${frappe.utils.icon("tick")}
${frappe.utils.icon("tick", "xs")}
</button>
`);
btn_group.find(".complete-btn").click(() => {

View file

@ -263,10 +263,11 @@ body.modal-open[style^="padding-right"] {
@extend .row;
.btn-group {
opacity: 0;
transition: opacity .77s ease-in-out;
transition: opacity .3s ease-in-out;
button {
display: inline-flex;
align-items: center;
}
}
.assignee {