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

Refero component loading global styles that are targeting all the checkboxes in the application. #113

Open
kajami opened this issue May 26, 2023 · 2 comments

Comments

@kajami
Copy link

kajami commented May 26, 2023

Hello,

I noticed that when I take ReferoContainer in use it will loads styles globally all around the application and there are css that is targeting all the checkboxes. Could this checkbox be styled so that it would not target all the checkboxes? These style comes from @helsenorge/form library (@helsenorge/form/components/checkbox/styles.scss) Below is the styles that are loaded globally.

input[type=checkbox] {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}

input[type=checkbox] + label {
cursor: pointer;
display: block;
font-size: 18px;
font-weight: 400;
margin: 0;
word-break: break-word;
hyphens: auto;
hyphens: auto;
hyphens: auto;
}

@andreasnp andreasnp reopened this Jun 29, 2023
@andreasnp
Copy link
Collaborator

Hello Kajami, we have looked at this issue and have added it as a bug in our backlog. Thank you for your request.

@ruberino
Copy link
Collaborator

ruberino commented Sep 3, 2024

Update on this issue: We are currently rewriting refero to use new form componenents. This issue will be resolved. If you want to, you can check the beta versions

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

No branches or pull requests

3 participants