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:
Johan Persson
2026-03-10 16:13:44 +01:00
parent f42f4cc055
commit d4d52fb13c
@@ -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 {