diff --git a/frappe/public/js/frappe/list/list_view.js b/frappe/public/js/frappe/list/list_view.js index b86c9a8ac6..907066d79a 100644 --- a/frappe/public/js/frappe/list/list_view.js +++ b/frappe/public/js/frappe/list/list_view.js @@ -182,18 +182,12 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList { const match_rules_list = frappe.perm.get_match_rules(this.doctype); if (match_rules_list.length) { this.restricted_list = $( - `` ) .click(() => this.show_restrictions(match_rules_list)) - .appendTo( - frappe.is_mobile() - ? this.page.page_form.find(".filter-section") - : this.page.page_form - ); + .appendTo(this.page.page_form.find(".filter-section")); } } diff --git a/frappe/public/scss/desk/list.scss b/frappe/public/scss/desk/list.scss index 65aa1c5b94..7f350ce3cf 100644 --- a/frappe/public/scss/desk/list.scss +++ b/frappe/public/scss/desk/list.scss @@ -546,8 +546,8 @@ input.list-header-checkbox { } .restricted-button { - margin-top: var(--margin-xs); - height: var(--margin-xl); + margin: var(--margin-xs) 0 0 var(--margin-sm); + height: 29px; .icon { width: 14px; @@ -563,13 +563,6 @@ input.list-header-checkbox { } } -.frappe-rtl { - .restricted-button { - margin: auto auto auto 5px; - direction: ltr; - } -} - // img { // max-height: 100%; // }