fix: perm manager remove button
This commit is contained in:
parent
d3ee984ee9
commit
7a6b112bd6
2 changed files with 2 additions and 1 deletions
|
|
@ -43,6 +43,7 @@ tbody > tr:first-child {
|
|||
|
||||
button.btn-remove-perm {
|
||||
box-shadow: none;
|
||||
padding: var(--padding-xs) var(--padding-xs);
|
||||
}
|
||||
|
||||
button.btn-remove-perm > svg > use {
|
||||
|
|
|
|||
|
|
@ -322,7 +322,7 @@ frappe.PermissionEngine = class PermissionEngine {
|
|||
}
|
||||
|
||||
add_delete_button(row, d) {
|
||||
$(`<button class='btn btn-danger btn-remove-perm btn-sm'>${frappe.utils.icon('delete')}</button>`)
|
||||
$(`<button class='btn btn-danger btn-remove-perm btn-xs'>${frappe.utils.icon('delete')}</button>`)
|
||||
.appendTo($(`<td class="pt-4">`).appendTo(row))
|
||||
.attr("data-doctype", d.parent)
|
||||
.attr("data-role", d.role)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue