fix: faster transition and improved button style
Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
This commit is contained in:
parent
7c38dac8ee
commit
cd56c6aaec
2 changed files with 3 additions and 2 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue