diff --git a/frappe/public/js/frappe/list/list_view.js b/frappe/public/js/frappe/list/list_view.js index 1c8ebefe3b..bded3c9aa1 100644 --- a/frappe/public/js/frappe/list/list_view.js +++ b/frappe/public/js/frappe/list/list_view.js @@ -654,8 +654,9 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList { const subject_field = this.columns[0].df; let subject_html = ` - + + + ${__(subject_field.label)} @@ -700,14 +701,16 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList { get_header_html_skeleton(left = "", right = "") { return ` +
${left}
- + + +
@@ -715,6 +718,7 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList { ${right}
+ `; } diff --git a/frappe/public/scss/desk/list.scss b/frappe/public/scss/desk/list.scss index b9fc687386..73d1c82258 100644 --- a/frappe/public/scss/desk/list.scss +++ b/frappe/public/scss/desk/list.scss @@ -160,11 +160,11 @@ .file-select { padding-left: 11px; } +} - .select-like { - padding: var(--list-checkbox-padding); - cursor: default; - } +.select-like { + padding: var(--list-checkbox-padding); + cursor: default; } .list-row-head { @@ -172,12 +172,9 @@ cursor: default; background-color: var(--subtle-fg); height: 30px; - margin: 0.5rem var(--padding-xs); + margin: 0.5rem 0; border-radius: var(--border-radius-md); - .list-check-all { - margin-left: 11px; - } .list-subject { font-weight: normal; } @@ -252,21 +249,14 @@ $level-margin-right: 8px; margin-bottom: 1px; } -input.list-row-checkbox { +input.list-row-checkbox, +input.list-header-checkbox { margin-top: 0; margin-bottom: 0; --checkbox-right-margin: 0; background-color: var(--card-bg); } -input.list-check-all { - margin-left: 15px; - margin-top: 0; - margin-bottom: 0; - --checkbox-right-margin: var(--list-checkbox-padding); - background-color: var(--card-bg); -} - .render-list-checkbox { margin-left: 15px; }