-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
Input group addons are misaligned/mismatched height #15840
Comments
@troywarr Can you please confirm that your browser zoom level is at 100% (i.e. no zoom)? |
You're right! This does not appear to be a Bootstrap issue. Closing, and sorry for the hassle. For posterity - this actually appears to be a Chrome zoom bug. Not sure if it's in vanilla Chrome, or caused by an extension I'm running. From my experience, this type of inconsistent misalignment is usually caused by browser zoom. In fact, that was the first thing I tried - using I've been developing in zoom level 110% for who knows how long now. :-/ |
Yeah, as mentioned in our docs (http://getbootstrap.com/getting-started/#support-browser-zooming ), non-pinch browser page zooming breaks the Web generally, and Bootstrap doesn't attempt any heroics to try to support it. |
Definitely - and I think that's the only reasonable policy. 👍 Thanks for the help, and sorry again for the false alarm. |
Just for the benefit of other people who may find this same issue happening even when they are at 100% zoom mode, there is an issue with Bootstrap SASS that will cause a very similar problem. See twbs/bootstrap-sass#409 for a solution involving setting the SASS precision. |
Input group addons render at a mismatched height, or are horizontally misaligned with the adjacent input fields (such that a double border is visible). This appears to affect both the
input-group-addon
andinput-group-btn
classes, with various types of text/icon content within the addons.To reproduce:
Results:
The examples in these sections shown misalignment in the addons. This occurs in my project as well (not just the Bootstrap docs), and the addons don't appear to be picking up any styling beyond what comes out of the box in Bootstrap.
This issue may be related to #10936, although that appears to concern Glyphicon content. This issue is not limited to that.
Screenshots:
The text was updated successfully, but these errors were encountered: