Commit a0e3788
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.
revert lock files1 parent ac084ab commit a0e3788
2 files changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
| |||
156 | 155 | | |
157 | 156 | | |
158 | 157 | | |
159 | | - | |
160 | 158 | | |
161 | 159 | | |
162 | 160 | | |
| |||
237 | 235 | | |
238 | 236 | | |
239 | 237 | | |
240 | | - | |
241 | 238 | | |
242 | 239 | | |
243 | 240 | | |
| |||
318 | 315 | | |
319 | 316 | | |
320 | 317 | | |
321 | | - | |
322 | 318 | | |
323 | 319 | | |
324 | 320 | | |
| |||
400 | 396 | | |
401 | 397 | | |
402 | 398 | | |
403 | | - | |
404 | 399 | | |
405 | 400 | | |
406 | 401 | | |
| |||
0 commit comments