fix(ui): ensure disabled rows override pointer cursor
Move the disabled rule after the pointer cursor rules so that disabled rows always show cursor: not-allowed, even when they have data-href or data-selection-mode. Signed-off-by: Johan Persson <johanopersson@gmail.com>
This commit is contained in:
@@ -104,15 +104,16 @@
|
||||
background-color: var(--bui-bg-tint-pressed);
|
||||
}
|
||||
|
||||
&[data-disabled] {
|
||||
background-color: var(--bui-bg-tint-disabled);
|
||||
}
|
||||
|
||||
&[data-href],
|
||||
&[data-selection-mode],
|
||||
&[data-react-aria-pressable='true'] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
&[data-disabled] {
|
||||
background-color: var(--bui-bg-tint-disabled);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
|
||||
.bui-TableCell {
|
||||
|
||||
Reference in New Issue
Block a user