feat: toggle refinement styling#6596
Conversation
thomasbritton
commented
Feb 28, 2025




(cherry picked from commit 11709a6)
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 7114974:
|
| display: flex; | ||
| } | ||
|
|
||
| input[class^='ais-'][class*='ToggleRefinement-checkbox'] { |
There was a problem hiding this comment.
I'm not sure why we need such selector, why not target .ais-ToggleRefinement-checkbox?
There was a problem hiding this comment.
This is because there is a selector in common.css that is of higher specificity input[class^='ais-'][type='checkbox']:checked { /* ... */ }
I did it this way because we were out of time so just needed something quick that would work but the class above probably needs to be merged into the refinement-list.css
There was a problem hiding this comment.
@sarahdayan I have re-worked so it uses the default class name .ais-ToggleRefinement-checkbox
|
Do you still want this merged in the base branch or restart when this project continues? |