Skip to content

Conversation

@stoyle
Copy link

@stoyle stoyle commented Nov 29, 2022

Should fix #140

@pearofducks
Copy link
Contributor

pearofducks commented Dec 7, 2022

This breaks hover styling on the checkbox.

@stoyle
Copy link
Author

stoyle commented Dec 7, 2022

Oh wow, that's interesting! Good catch.

Seems specificity is higher on the "regular" ::before styling, than with hover. Creating a custom hover style for this case should be even more specific... But too complicated for such a small thing?

We can fix this with a custom selector in our podlet.

@stoyle
Copy link
Author

stoyle commented Dec 8, 2022

This fixes it for us: https://github.schibsted.io/finn/extended-profile-podium/commit/1b5e2f2bfa6cc43770e25498c1ab509612ae37ab

I still think this should live in fabric, not in our repo. But that is of course up to the fabric team.

By the way, the check mark is visible when hovering, but I guess that's a feature 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Checkbox needs background color

2 participants