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

Updated sizing to allow for use of Bootstrap sizing classes #43

Merged
merged 3 commits into from
Jul 27, 2021

Conversation

apalfrey
Copy link
Owner

@apalfrey apalfrey commented Jul 27, 2021

  • Migrated sizing styling to a mixin
    • Helped to prevent duplication of coding (small and large were the same, other than the variables used
  • Added support for Bootstrap sizing classes
    • These classes would be added to the select element itself
    • This requires the dropdownParent property to be set when initialising Select2, otherwise styling does not get applied to the dropdown list
  • Updated README to show how to use new functionality

Helped to prevent duplication of coding (small and large were the same, other than the variables used
@apalfrey apalfrey linked an issue Jul 27, 2021 that may be closed by this pull request
@apalfrey apalfrey marked this pull request as ready for review July 27, 2021 19:26
@apalfrey apalfrey merged commit d63866a into master Jul 27, 2021
@apalfrey apalfrey deleted the sizing-update branch July 27, 2021 19:26
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

Successfully merging this pull request may close these issues.

Support for input sizes i.e form-select-sm
1 participant