Show pointer cursor across the whole GTable selection checkbox

The row/select-all checkbox is a Bootstrap custom-control: the visible box is
the (empty) label's ::before and the real input is visually hidden, both
defaulting to the arrow cursor. Clicking already worked via the label, but the
non-pointer cursor made the checkbox look unclickable except at its top edge
(where the cell showed through). Force a pointer cursor across the control.
This commit is contained in:
Alireza Heidari
2026-07-22 18:53:38 +02:00
parent 4f26f69d7d
commit 83dcb747b8
+9
View File
@@ -1071,6 +1071,15 @@ defineExpose({
.custom-checkbox {
cursor: pointer;
// The visible checkbox is the (empty) label's ::before box, while
// the real input is visually hidden; both default to the arrow
// cursor, making the checkbox look unclickable. Force a pointer
// across the whole control.
:deep(.custom-control-input:not(:disabled)),
:deep(.custom-control-input:not(:disabled) ~ .custom-control-label) {
cursor: pointer;
}
}
}