Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force background color to white, not transparent #141

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

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