mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-01 15:37:32 +08:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user