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

[Bug]: form-control-sm input text is not vertically centered in single-select mode #836

Open
dcongrove-td opened this issue Dec 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dcongrove-td
Copy link

Bug description

When using Tom Select with the form-control-sm class for a single-select input, the text inside the input field is not vertically centered. It appears that the input is using the normal padding instead of the smaller input-sm padding. This issue is also visible in the documentation example on the Tom Select website.

Expected behavior

The text inside the form-control-sm input should be vertically centered and consistent with Bootstrap's input-sm padding styles.

Steps to reproduce

  1. Visit the Tom Select styling examples page.
  2. Scroll to the "form-control-sm (single)" example.
  3. Observe that the text within the input is not vertically centered.

Additional context

Bootstrap v5.3.3

@dcongrove-td dcongrove-td added the bug Something isn't working label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant