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

Add classes to button #312

Closed
hawkeye116477 opened this issue Mar 4, 2024 · 3 comments · Fixed by #334
Closed

Add classes to button #312

hawkeye116477 opened this issue Mar 4, 2024 · 3 comments · Fixed by #334
Labels
enhancement New feature or request

Comments

@hawkeye116477
Copy link

It's possible to add classes to wrapper and options, but not to .vscomp-toggle-button . So it would be good if will be something named additionalButtonClasses, so it will be possible to use Bootstrap or another framework classes.

@gnbm gnbm added the enhancement New feature or request label Mar 4, 2024
@gnbm
Copy link
Collaborator

gnbm commented Mar 19, 2024

It's possible to add classes to wrapper and options, but not to .vscomp-toggle-button . So it would be good if will be something named additionalButtonClasses, so it will be possible to use Bootstrap or another framework classes.

@hawkeye116477 can you give an example where you can show the element that would have those classes and explain the use cases (with practical examples) where that could be used?

@raliqala
Copy link

Let's say I wanted to add tailwind classes to customize the select input, is this possible or I can add classes for specific elements.

@gnbm
Copy link
Collaborator

gnbm commented Apr 25, 2024

@raliqala I think the same would be useful for the element with the class vscomp-dropbox or vscomp-dropbox-container to allow styling the dropdown balloon. What do you think @hawkeye116477?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants