Skip to content

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

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

Open
dcongrove-td opened this issue Dec 10, 2024 · 1 comment
Labels
bug Something isn't working stale No activity

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
Copy link

This issue has not been active in 120 days and has been marked "stale". Remove stale label or comment or this will be closed in 15 days

@github-actions github-actions bot added the stale No activity label Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale No activity
Projects
None yet
Development

No branches or pull requests

1 participant