Commit 8ec5ed7
committed
Remove redundant checkbox-input class from TreeCheckbox
The selection slot div in TreeCheckbox was using both className="checkbox-input"
and data-slot="selection", causing duplicate styling. The CSS already has
comprehensive [data-slot="selection"] rules that cover all the necessary
styling, making the checkbox-input class redundant and confusing.
Changes:
- Removed className="checkbox-input" from TreeCheckbox selection slot
- CSS [data-slot="selection"] rules already include all necessary styling
- Updated 5 test snapshots to reflect the cleaner markup
This addresses the Copilot review comment about duplicate/conflicting
styling between .checkbox-input class and [data-slot="selection"] attribute.1 parent 49eb5c1 commit 8ec5ed7
4 files changed
Lines changed: 24064 additions & 2311 deletions
File tree
- src/components/Tree
- __snapshots__
0 commit comments