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

Nexus UI css #135

Open
luisarandas opened this issue Dec 16, 2018 · 2 comments
Open

Nexus UI css #135

luisarandas opened this issue Dec 16, 2018 · 2 comments

Comments

@luisarandas
Copy link

Regarding an earlier response on rounding the corners of nexus ui widgets, I'd like to know if I can do that to only one widget. If

[nexus-ui] {
border-radius: 5px;
overflow:hidden;
}

Changes all the widgets, how can I change only for example the positioning?
Best, Luis

@taylorbf
Copy link
Contributor

You can give the widget's target element an ID and write css for that element. Will that work?

Or, you can give the element itself a class slider.element.className = 'example'. And then write css for that class. There may be a more elegant way to do this!

@luisarandas
Copy link
Author

Thank you very much taylor, I managed to do the first way. I can't get the <var_name>.element.className = 'css_name'; to work but that's ok it works fine with the id!
Best Luis

@tatecarson tatecarson added this to Backlog in Overview of nexusUI Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants