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

CSS properties not applying #116

Open
sroy93 opened this issue Aug 29, 2019 · 4 comments
Open

CSS properties not applying #116

sroy93 opened this issue Aug 29, 2019 · 4 comments

Comments

@sroy93
Copy link

sroy93 commented Aug 29, 2019

Hi, I have a checkbox element that is wrapped inside of a Carousel Item template (using nativescript-carousel) and for whatever reason, I cannot get CSS to apply to the checkbox element. It doesn't matter where I put the class tag, and the CSS applies just fine to a label element wrapped inside of the same stack layout within the same Item Template. Any ideas on this?

@mrwrighty
Copy link

Same here, no CSS is applied to the element. I need to make the CheckBox about 3 or 4 times bigger than it is by default.

@AnthonyLenglet
Copy link

So far the only solution that we found on our end is by setting it directly on the element with a style set to !important
<CheckBox class="checkbox" style="font-size: 20pt!important;"></CheckBox>

@mrwrighty
Copy link

I used an image in the end, one image as an empty box and the other is box with tick and do and image swap on tap.

@itsmerockingagain
Copy link

@mrwrighty How you have done that, can you help me plz with code snippet

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

4 participants