Unset hover styles when disabled
feat: unset hover styles when disabled
Unset hover styles when disabled4fc6b7-feat-unset-hover-styles-when-disabledfeatunset hover styles disabled
Committed by margalit
commit message
feat: unset hover styles when disabled
Remove hover styles when the button is disabled for usability concerns. Prefer this over `pointerEvents: none` to ensure tooltips continue to work and `cursor: not-allowed` is respected.Editor assessment
The subject states the change: hover styles are unset when a component is disabled. The body then delivers a model rationale: the removal serves usability, the pointerEvents-none alternative was rejected because it would break tooltips, and cursor not-allowed is explicitly respected. That is motivation, trade-off, and alternative weighed in two sentences — exactly what a body exists to teach. The feat type fits a behavior refinement, the imperative subject is clean, no scope is strictly needed, and no footers are required. An exemplary small commit.