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

Added the ability to add custom classes to the main elements #334

Merged
merged 3 commits into from
Jun 5, 2024

Conversation

gnbm
Copy link
Collaborator

@gnbm gnbm commented May 13, 2024

What was happening

  • The community was asking for a way to add CSS classes to some key elements that would allow the customization of the dropdown elements using utility classes (tailwind, bootstrap, ... )

After the fix

  • The following options were added:
    • additionalDropboxClasses - additional classes for dropbox element
    • additionalDropboxContainerClasses - additional classes for the dropbox container element
    • additionalToggleButtonClasses - additional classes for the toggle button element
  • A new documentation section called Custom styling was added to better showcase the usage of these new options:

image

  • Followed the same steps above - ✅
  • Ran regression scenarios - ✅
  • Run automated tests - ✅

image

@gnbm gnbm added documentation Improvements or additions to documentation enhancement New feature or request labels May 13, 2024
@gnbm gnbm requested a review from sa-si-dev May 13, 2024 16:58
@gnbm gnbm merged commit 687d89f into sa-si-dev:master Jun 5, 2024
@gnbm gnbm mentioned this pull request Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add classes to button
1 participant