From eb4d0b234a81bbcaaa26b1b61ce80a8be332ef0c Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Tue, 16 Apr 2024 19:47:18 +0200 Subject: [PATCH] feat: extend the checkbox's clickable area --- frappe/public/scss/desk/list.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/frappe/public/scss/desk/list.scss b/frappe/public/scss/desk/list.scss index 73d1c82258..ccaaa422fa 100644 --- a/frappe/public/scss/desk/list.scss +++ b/frappe/public/scss/desk/list.scss @@ -255,6 +255,15 @@ input.list-header-checkbox { margin-bottom: 0; --checkbox-right-margin: 0; background-color: var(--card-bg); + + &::after { + // Extend the checkbox's clickable area + display: block; + content: ""; + inset: calc(-1 * var(--list-checkbox-padding)); + position: absolute; + opacity: 0; + } } .render-list-checkbox {